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 <g...@gnu.org> --- 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 <g...@gnu.org> + + 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 <g...@gnu.org> 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 $@ $@-t - @perl -ne '/^# TS-start/.../^# TS-end/ and print' $(ME) > $@-t + @perl -ne '/^# TS-start/.../^# TS-end/ and print' $(srcdir)/$(ME) > $@-t @chmod a=r $@-t && mv $@-t $@ ifeq (a,b) -- 1.7.7.3 Cheers, -- Gary V. Vaughan (gary AT gnu DOT org)