autoconf-patches
[Top][All Lists]
Advanced

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

[PATCH] build: fix automake error due to missing ChangeLog


From: Stefano Lattarini
Subject: [PATCH] build: fix automake error due to missing ChangeLog
Date: Fri, 20 Jan 2012 18:05:17 +0100

Apparently, Automake does not accept the '$(srcdir)/ChangeLog'
target in Makefile.am as a declaration that ChangeLog is
automatically generated (and thus does not need to exist at
automake time).  One has to use a *literal* 'ChangeLog' target.

Problem introduced in commit v2.68-118-g6ed5195 of 2012-01-17,
"maint: generate ChangeLog from git log".

* Makefile.ma ($(srcdir)/ChangeLog): Renamed ...
(ChangeLog): ... to this.
---

I will push this shortly if there is no objection (as I think that
having a suboptimal patch is better than having broken bootstrap
on master).

Sorry for the mess-up,
  Stefano

 Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 5bf4cb5..7608874 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -64,7 +64,7 @@ gen-ChangeLog:
 # bootstrap.  Creates a dummy ChangeLog (unless one is already present,
 # as might be the case for users of vc-dwim) that will be overridden
 # with a proper one at distribution time.
-$(srcdir)/ChangeLog:
+ChangeLog:
        @echo dummy > $@
 
 # Version string management.  There are two files to be aware of:
-- 
1.7.7.3




reply via email to

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