]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Use BUILT_SOURCES to simplify the Makefile.am.
authorBruno Haible <bruno@clisp.org>
Fri, 22 Jul 2005 19:36:28 +0000 (19:36 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:12:39 +0000 (12:12 +0200)
gettext-tools/lib/ChangeLog
gettext-tools/lib/Makefile.am

index b72ed6395c9131558eabb71b44cb01eb03a28799..452d6076a9112c5f9a1b5fd3c02c4df76399c779 100644 (file)
@@ -1,3 +1,10 @@
+2005-07-22  Bruno Haible  <bruno@clisp.org>
+
+       * Makefile.am: Remove rules depending on @STDBOOL_H@, @ALLOCA_H@,
+       @FNMATCH_H@, @GETOPT_H@.
+       (BUILT_SOURCES): Add $(STDBOOL_H), $(ALLOCA_H).
+       Reported by Alexandre Duret-Lutz <adl@src.lip6.fr>.
+
 2005-07-09  Bruno Haible  <bruno@clisp.org>
 
        * csharpcomp.sh.in (options_csc): For -l option, add a .dll suffix.
index f96c19c502c0c927520776bac3a942f691420f14..4ba7a5caa564be4d0f08e6bdd5aa913aecd3f3e2 100644 (file)
@@ -159,11 +159,11 @@ DEFS = -DEXEEXT=\"$(EXEEXT)\" -DDEPENDS_ON_LIBINTL=1 -DDEPENDS_ON_LIBICONV=1 @DE
 
 
 # >>> gnulib module stdbool.
+BUILT_SOURCES += $(STDBOOL_H)
 EXTRA_DIST += stdbool_.h
 
 # The following is needed in order to create an <stdbool.h> when the system
 # doesn't have one that works.
-all-local $(libgettextlib_la_OBJECTS): @STDBOOL_H@
 stdbool.h: stdbool_.h
        sed -e 's/@''HAVE__BOOL''@/@HAVE__BOOL@/g' < $(srcdir)/stdbool_.h > stdbool.h
 MOSTLYCLEANFILES += stdbool.h
@@ -171,11 +171,11 @@ MOSTLYCLEANFILES += stdbool.h
 
 
 # >>> gnulib module alloca.
+BUILT_SOURCES += $(ALLOCA_H)
 EXTRA_DIST += 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 $(libgettextlib_la_OBJECTS): @ALLOCA_H@
 alloca.h: alloca_.h
        cp $(srcdir)/alloca_.h alloca.h
 MOSTLYCLEANFILES += alloca.h
@@ -188,7 +188,6 @@ EXTRA_DIST += fnmatch_.h fnmatch_loop.c
 
 # The following is needed in order to create an <fnmatch.h> when the system
 # doesn't have one that works.
-all-local $(libgettextlib_la_OBJECTS): @FNMATCH_H@
 fnmatch.h: fnmatch_.h
        cp $(srcdir)/fnmatch_.h fnmatch.h
 MOSTLYCLEANFILES += fnmatch.h
@@ -201,7 +200,6 @@ EXTRA_DIST += getopt_.h getopt_int.h
 
 # 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: getopt_.h
        cp $(srcdir)/getopt_.h getopt.h
 MOSTLYCLEANFILES += getopt.h