* top/maint.mk (news-check): GNU Make understand $< very well.
(release-prep): NEWS is in $(srcdir).
+2012-06-07 Akim Demaille <akim@lrde.epita.fr>
+
+ 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 <akim@lrde.epita.fr>
readme-release: require the promoted modules.
&& { 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 \
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