From b7797c334a4f35594ac0f8b8be75ca1ec247862e Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Thu, 7 Jun 2012 12:21:36 +0200 Subject: [PATCH] maint.mk: fix VPATH issues. * top/maint.mk (news-check): GNU Make understand $< very well. (release-prep): NEWS is in $(srcdir). --- ChangeLog | 6 ++++++ top/maint.mk | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 08285b819..cca5fe749 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-06-07 Akim Demaille + + maint.mk: fix VPATH issues. + * top/maint.mk (news-check): GNU Make understand $< very well. + (release-prep): NEWS is in $(srcdir). + 2012-06-05 Akim Demaille readme-release: require the promoted modules. diff --git a/top/maint.mk b/top/maint.mk index 11cb6a626..f0b889bc9 100644 --- a/top/maint.mk +++ b/top/maint.mk @@ -1059,7 +1059,7 @@ sc_makefile_at_at_check: && { echo '$(ME): use $$(...), not @...@' 1>&2; exit 1; } || : news-check: NEWS - if sed -n $(news-check-lines-spec)p $(srcdir)/NEWS \ + if sed -n $(news-check-lines-spec)p $< \ | grep -E $(news-check-regexp) >/dev/null; then \ :; \ else \ @@ -1367,7 +1367,7 @@ release-prep: fi echo $(VERSION) > $(prev_version_file) $(MAKE) update-NEWS-hash - perl -pi -e '$$. == 3 and print "$(gl_noteworthy_news_)\n\n\n"' NEWS + perl -pi -e '$$. == 3 and print "$(gl_noteworthy_news_)\n\n\n"' $(srcdir)/NEWS $(emit-commit-log) > .ci-msg $(VC) commit -F .ci-msg -a rm .ci-msg -- 2.11.0