From: Bruno Haible Date: Mon, 27 Nov 2006 12:50:40 +0000 (+0000) Subject: Fix build failures after config.h generation failed once. X-Git-Tag: v0.17~629 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00b6afb96ff530cb9ac3a2f06ad52c0e33e95535;p=thirdparty%2Fgettext.git Fix build failures after config.h generation failed once. --- diff --git a/gettext-tools/libgettextpo/ChangeLog b/gettext-tools/libgettextpo/ChangeLog index b99c069a9..47e8c10a8 100644 --- a/gettext-tools/libgettextpo/ChangeLog +++ b/gettext-tools/libgettextpo/ChangeLog @@ -1,3 +1,8 @@ +2006-11-26 Bruno Haible + + * Makefile.am (config.h): When removing an object file, also remove + the corresponding .lo file. + 2006-11-26 Bruno Haible Support for VPATH builds. diff --git a/gettext-tools/libgettextpo/Makefile.am b/gettext-tools/libgettextpo/Makefile.am index 02d8a86f5..68e7c13ba 100644 --- a/gettext-tools/libgettextpo/Makefile.am +++ b/gettext-tools/libgettextpo/Makefile.am @@ -135,7 +135,7 @@ config.h: $(BUILT_SOURCES) of=`echo "$$f" | sed -e 's,^.*/,,' -e 's,\\.[^.]*$$,,'`.$(OBJEXT); \ $(COMPILE) -c $$sf || { rm -f config.h; exit 1; }; \ sh ./exported.sh $$of 1>&5; \ - rm -f $$of; \ + rm -f $$of `echo "$$of" | sed -e 's,\\.$(OBJEXT)$$,.lo,'`; \ ;; \ esac; \ done; \