]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Simplify by using BUILT_SOURCES.
authorBruno Haible <bruno@clisp.org>
Mon, 25 Jul 2005 11:23:52 +0000 (11:23 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:12:41 +0000 (12:12 +0200)
gettext-runtime/lib/ChangeLog
gettext-runtime/lib/Makefile.am

index a5f0190035ce2c6f673f610f4eac668baec9b4e5..582c71124ada13fa76c39c25714d6431d17e0401 100644 (file)
@@ -1,3 +1,10 @@
+2005-07-25  Bruno Haible  <bruno@clisp.org>
+
+       * Makefile.am: Remove rules depending on @STDBOOL_H@, @ALLOCA_H@,
+       @GETOPT_H@.
+       (BUILT_SOURCES): Add $(STDBOOL_H), $(ALLOCA_H).
+       Reported by Alexandre Duret-Lutz <adl@src.lip6.fr>.
+
 2005-05-23  Bruno Haible  <bruno@clisp.org>
 
        * gettext-0.14.5 released.
index d1dec898bf20be59d413358062c19ff212732bac..1262f538348c2feffa9260e67f7afff195fe496d 100644 (file)
@@ -70,11 +70,11 @@ EXTRA_DIST += $(LIBADD_SOURCE)
 
 
 # >>> gnulib module stdbool.
+BUILT_SOURCES += $(STDBOOL_H)
 EXTRA_DIST += ../../gettext-tools/lib/stdbool_.h
 
 # The following is needed in order to create an <stdbool.h> when the system
 # doesn't have one that works.
-all-local $(libgrt_a_OBJECTS): @STDBOOL_H@
 stdbool.h: ../../gettext-tools/lib/stdbool_.h
        sed -e 's/@''HAVE__BOOL''@/@HAVE__BOOL@/g' < $(srcdir)/../../gettext-tools/lib/stdbool_.h > stdbool.h
 MOSTLYCLEANFILES += stdbool.h
@@ -82,11 +82,11 @@ MOSTLYCLEANFILES += stdbool.h
 
 
 # >>> gnulib module alloca.
+BUILT_SOURCES += $(ALLOCA_H)
 EXTRA_DIST += ../../gettext-tools/lib/alloca_.h
 
 # The following is needed in order to create an <alloca.h> when the system
 # doesn't have one that works with the given compiler.
-all-local $(libgrt_a_OBJECTS): @ALLOCA_H@
 alloca.h: ../../gettext-tools/lib/alloca_.h
        cp $(srcdir)/../../gettext-tools/lib/alloca_.h alloca.h
 MOSTLYCLEANFILES += alloca.h
@@ -99,7 +99,6 @@ EXTRA_DIST += ../../gettext-tools/lib/getopt_.h ../../gettext-tools/lib/getopt_i
 
 # The following is needed in order to create a <getopt.h> when the system
 # doesn't have one that works.
-all-local $(libgettextlib_la_OBJECTS): @GETOPT_H@
 getopt.h: ../../gettext-tools/lib/getopt_.h
        cp $(srcdir)/../../gettext-tools/lib/getopt_.h getopt.h
 MOSTLYCLEANFILES += getopt.h