automake-patches
[Top][All Lists]
Advanced

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

FYI: fix amversion.m4 rules


From: Alexandre Duret-Lutz
Subject: FYI: fix amversion.m4 rules
Date: Fri, 27 Jun 2003 01:53:57 +0200
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

I'm checking this in.
I thought Akim had fixed this, but I couldn't fix the ChangeLog entry.


2003-06-27  Alexandre Duret-Lutz  <address@hidden>

        * m4/Makefile.am ($(srcdir)/amversion.m4): Rename as ...
        ($(top_srcdir)/m4/amversion.m4): ... this.
        (DISTCLEANFILES): Remove.
        (nodist_m4data_DATA): Remove. amversion.m4 is automatically
        distributed.
        (EXTRA_DIST): Add amversion.in.

Index: m4/Makefile.am
===================================================================
RCS file: /cvs/automake/automake/m4/Makefile.am,v
retrieving revision 1.47
diff -u -r1.47 Makefile.am
--- m4/Makefile.am      2 Jun 2003 07:08:40 -0000       1.47
+++ m4/Makefile.am      26 Jun 2003 23:50:39 -0000
@@ -53,18 +53,16 @@
 sanity.m4 \
 strip.m4
 
-# Use `$(srcdir)' for the benefit of non-GNU makes.
-# Many implementations do not know that `./foo' is the same target as `foo'.
-nodist_m4data_DATA = $(srcdir)/amversion.m4
-DISTCLEANFILES = amversion.m4
-EXTRA_DIST = dirlist
+EXTRA_DIST = dirlist amversion.in
 
 # We build amversion.m4 here, instead of from config.status,
 # because config.status is rerun each time one of configure's
 # dependencies change and amversion.m4 happens to be a configure
 # dependency.  configure and amversion.m4 would be rebuilt in
 # loop otherwise.
-$(srcdir)/amversion.m4: $(srcdir)/amversion.in
+# Use `$(top_srcdir)/m4' for the benefit of non-GNU makes: this is
+# how amversion.m4 appears in our dependencies.
+$(top_srcdir)/m4/amversion.m4: $(srcdir)/amversion.in
        sed -e 's,address@hidden@],$(VERSION),g' \
            -e 's,address@hidden@],$(APIVERSION),g' \
            $(srcdir)/amversion.in > address@hidden
-- 
Alexandre Duret-Lutz





reply via email to

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