From: Bruno Haible Date: Fri, 22 Jul 2005 19:36:28 +0000 (+0000) Subject: Use BUILT_SOURCES to simplify the Makefile.am. X-Git-Tag: v0.15~481 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f58e9e8d85fe150bcd5056048cdeff8ff1352aae;p=thirdparty%2Fgettext.git Use BUILT_SOURCES to simplify the Makefile.am. --- diff --git a/gettext-tools/lib/ChangeLog b/gettext-tools/lib/ChangeLog index b72ed6395..452d6076a 100644 --- a/gettext-tools/lib/ChangeLog +++ b/gettext-tools/lib/ChangeLog @@ -1,3 +1,10 @@ +2005-07-22 Bruno Haible + + * 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 . + 2005-07-09 Bruno Haible * csharpcomp.sh.in (options_csc): For -l option, add a .dll suffix. diff --git a/gettext-tools/lib/Makefile.am b/gettext-tools/lib/Makefile.am index f96c19c50..4ba7a5caa 100644 --- a/gettext-tools/lib/Makefile.am +++ b/gettext-tools/lib/Makefile.am @@ -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 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 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 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 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