[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] maint.mk: fix tight-scope.mk generation in VPATH builds.
From: |
Gary V. Vaughan |
Subject: |
[PATCH] maint.mk: fix tight-scope.mk generation in VPATH builds. |
Date: |
Tue, 15 Nov 2011 17:47:41 +0700 |
Okay to push?
* top/maint.mk (tight-scope.mk): Make sure to prefix file
reference with $(srcdir) so that the file is found correctly even
when running `make syntax-check' in a VPATH build.
Signed-off-by: Gary V. Vaughan <address@hidden>
---
ChangeLog | 7 +++++++
top/maint.mk | 2 +-
2 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 7799f7a..dd1f5ff 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-11-15 Gary V. Vaughan <address@hidden>
+
+ maint.mk: fix tight-scope.mk generation in VPATH builds.
+ * top/maint.mk (tight-scope.mk): Make sure to prefix file
+ reference with $(srcdir) so that the file is found correctly even
+ when running `make syntax-check' in a VPATH build.
+
2011-11-01 Gary V. Vaughan <address@hidden>
gitlog-to-changelog: support `tiny change' commits.
diff --git a/top/maint.mk b/top/maint.mk
index d2f5830..76844a0 100644
--- a/top/maint.mk
+++ b/top/maint.mk
@@ -1438,7 +1438,7 @@ sc_tight_scope: tight-scope.mk
tight-scope.mk: $(ME)
@rm -f $@ address@hidden
- @perl -ne '/^# TS-start/.../^# TS-end/ and print' $(ME) > address@hidden
+ @perl -ne '/^# TS-start/.../^# TS-end/ and print' $(srcdir)/$(ME) >
address@hidden
@chmod a=r address@hidden && mv address@hidden $@
ifeq (a,b)
--
1.7.7.3
Cheers,
--
Gary V. Vaughan (gary AT gnu DOT org)
- [PATCH] maint.mk: fix tight-scope.mk generation in VPATH builds.,
Gary V. Vaughan <=