From: Bruno Haible Date: Mon, 17 Feb 2003 21:03:33 +0000 (+0000) Subject: Fix a build problem when srcdir != builddir. X-Git-Tag: v0.12~224 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3517cf98eaa5aebd0f58383d398fe42a09cb8518;p=thirdparty%2Fgettext.git Fix a build problem when srcdir != builddir. --- diff --git a/gettext-runtime/intl/ChangeLog b/gettext-runtime/intl/ChangeLog index 7d4a5f774..9b00b1386 100644 --- a/gettext-runtime/intl/ChangeLog +++ b/gettext-runtime/intl/ChangeLog @@ -1,3 +1,8 @@ +2003-02-16 Bruno Haible + + * Makefile.in (.sin.sed): Remove rule. + (ref-add.sed, ref-del.sed): New rules. + 2003-02-12 Bruno Haible Big restructuring. diff --git a/gettext-runtime/intl/Makefile.in b/gettext-runtime/intl/Makefile.in index aa5770400..1472b7ab7 100644 --- a/gettext-runtime/intl/Makefile.in +++ b/gettext-runtime/intl/Makefile.in @@ -157,10 +157,6 @@ LTV_AGE=2 $(YACC) $(YFLAGS) --output $@ $< rm -f $*.h -.sin.sed: - sed -e '/^#/d' -e 's/@''PACKAGE''@/@PACKAGE@/g' $< > t-$@ - mv t-$@ $@ - bindtextdom.lo: $(srcdir)/bindtextdom.c $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/bindtextdom.c dcgettext.lo: $(srcdir)/dcgettext.c @@ -202,6 +198,13 @@ osdep.lo: $(srcdir)/osdep.c intl-compat.lo: $(srcdir)/intl-compat.c $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/intl-compat.c +ref-add.sed: $(srcdir)/ref-add.sin + sed -e '/^#/d' -e 's/@''PACKAGE''@/@PACKAGE@/g' $(srcdir)/ref-add.sin > t-ref-add.sed + mv t-ref-add.sed ref-add.sed +ref-del.sed: $(srcdir)/ref-del.sin + sed -e '/^#/d' -e 's/@''PACKAGE''@/@PACKAGE@/g' $(srcdir)/ref-del.sin > t-ref-del.sed + mv t-ref-del.sed ref-del.sed + INCLUDES = -I.. -I. -I$(srcdir) libintl.h: $(srcdir)/libgnuintl.h