diff options
author | Simon Feltman <sfeltman@src.gnome.org> | 2014-03-03 06:49:09 -0800 |
---|---|---|
committer | Simon Feltman <sfeltman@src.gnome.org> | 2014-03-03 06:49:09 -0800 |
commit | 1a63a04eaf2a77c1752b90e80ab571677f27ac3d (patch) | |
tree | 663a25cc95094dfbfff8c0c2e5396dc7a7ccff63 | |
parent | 5798f94b6a727b930b07fe840b0aef264f98a80e (diff) | |
download | pygobject-1a63a04eaf2a77c1752b90e80ab571677f27ac3d.tar.gz |
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.
-rw-r--r-- | Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index ea0b4bac..208ed136 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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`; \ |