bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

VPATH and 'make stable'


From: Eric Blake
Subject: VPATH and 'make stable'
Date: Tue, 05 Jan 2010 21:34:31 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666

The announcement target of maint.mk failed unnecessarily in a VPATH tree.
  I noticed this while syncing modern gnulib maint.mk into autoconf, which
already had this patch:

-- 
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
From aab6ab6d121b644d99c3cf63901163e3bef3dc54 Mon Sep 17 00:00:00 2001
From: Eric Blake <address@hidden>
Date: Tue, 5 Jan 2010 21:23:08 -0700
Subject: [PATCH] maint: support 'make announcement' from a VPATH build

* top/maint.mk (announcement): Look for correct NEWS file.

Signed-off-by: Eric Blake <address@hidden>
---
 ChangeLog    |    5 +++++
 top/maint.mk |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 2d78186..1d1638e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-01-05  Eric Blake  <address@hidden>
+
+       maint: support 'make announcement' from a VPATH build
+       * top/maint.mk (announcement): Look for correct NEWS file.
+
 2009-11-17  Eric Blake  <address@hidden>

        manywarnings: add more warnings
diff --git a/top/maint.mk b/top/maint.mk
index e4a6359..40f306e 100644
--- a/top/maint.mk
+++ b/top/maint.mk
@@ -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                                        \
-- 
1.6.4.2

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]