Commit 1a63a04e authored by Simon Feltman's avatar Simon Feltman
Browse files

build: Update release-news to use srcdir

Use $(top_srcdir)/NEWS for pulling in news items to ensure
"make release-news" works in a vpath build environment.
parent 5798f94b
......@@ -130,7 +130,7 @@ release-news:
@echo -e "\n\n\nFor blogging, you can copy&paste this HTML formatted news:"
@echo "-------------- 8< -------------"
@last=`head -n1 NEWS | cut -f1 -d' '`; \
@last=`head -n1 $(top_srcdir)/NEWS | cut -f1 -d' '`; \
echo "<ul>"; \
for commit in `git rev-list $$last..`; do \
data=`git log --format="format:%s%n%an%n%b" $$commit^..$$commit`; \
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment