[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] maint.mk: fix VPATH issues
From: |
Akim Demaille |
Subject: |
[PATCH] maint.mk: fix VPATH issues |
Date: |
Thu, 7 Jun 2012 13:37:26 +0200 |
Hi!
There is many small issues with VPATH builds, in the
release procedure. A first one.
From c1a33e591861261dcdc9361511835c83c0a22f9c Mon Sep 17 00:00:00 2001
From: Akim Demaille <address@hidden>
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).
---
top/maint.mk | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/top/maint.mk b/top/maint.mk
index 11cb6a6..f0b889b 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
--
1.7.10.4
- [PATCH] maint.mk: fix VPATH issues,
Akim Demaille <=