maint: support 'make announcement' from a VPATH build
authorEric Blake <ebb9@byu.net>
Wed, 6 Jan 2010 04:23:08 +0000 (21:23 -0700)
committerIan Beckwith <ianb@erislabs.net>
Sun, 10 Jan 2010 00:23:08 +0000 (00:23 +0000)
* top/maint.mk (announcement): Look for correct NEWS file.

Signed-off-by: Eric Blake <ebb9@byu.net>
(cherry picked from commit 735d9d0a10551cec9e67cc0eb0aadb541bc63d27)

ChangeLog
top/maint.mk

index f7218e3..80f3988 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-01-05  Eric Blake  <ebb9@byu.net>
+
+       maint: support 'make announcement' from a VPATH build
+       * top/maint.mk (announcement): Look for correct NEWS file.
+
 2010-01-05  Aurelien Jarno  <aurelien@aurel32.net>  (tiny change)
 
        utimens (fdutimens): ignore a negative FD, per contract
index e4a6359..40f306e 100644 (file)
@@ -707,7 +707,7 @@ announcement: NEWS ChangeLog $(rel-files)
            --prev=$(PREV_VERSION)                                      \
            --curr=$(VERSION)                                           \
            --gpg-key-id=$(gpg_key_ID)                                  \
-           --news=NEWS                                                 \
+           --news=$(srcdir)/NEWS                                       \
            --bootstrap-tools=$(bootstrap-tools)                        \
            --gnulib-version=$(gnulib-version)                          \
            --no-print-checksums                                        \