From: Bruno Haible Date: Mon, 25 Jul 2005 11:23:52 +0000 (+0000) Subject: Simplify by using BUILT_SOURCES. X-Git-Tag: v0.15~465 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37a791f5199ce4f39eac85e236ac66110bae5d2f;p=thirdparty%2Fgettext.git Simplify by using BUILT_SOURCES. --- diff --git a/gettext-runtime/lib/ChangeLog b/gettext-runtime/lib/ChangeLog index a5f019003..582c71124 100644 --- a/gettext-runtime/lib/ChangeLog +++ b/gettext-runtime/lib/ChangeLog @@ -1,3 +1,10 @@ +2005-07-25 Bruno Haible + + * Makefile.am: Remove rules depending on @STDBOOL_H@, @ALLOCA_H@, + @GETOPT_H@. + (BUILT_SOURCES): Add $(STDBOOL_H), $(ALLOCA_H). + Reported by Alexandre Duret-Lutz . + 2005-05-23 Bruno Haible * gettext-0.14.5 released. diff --git a/gettext-runtime/lib/Makefile.am b/gettext-runtime/lib/Makefile.am index d1dec898b..1262f5383 100644 --- a/gettext-runtime/lib/Makefile.am +++ b/gettext-runtime/lib/Makefile.am @@ -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 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 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 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