summaryrefslogtreecommitdiffstats
path: root/gettext-tools
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2006-11-27 12:50:40 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:14:24 +0200
commit00b6afb96ff530cb9ac3a2f06ad52c0e33e95535 (patch)
tree3913b514390cd5a8d80b8ded57d9d1c199e08804 /gettext-tools
parent4fa8d6f3a3f23a7b5757a6c9d17bcb9b039d8e7b (diff)
downloadexternal_gettext-00b6afb96ff530cb9ac3a2f06ad52c0e33e95535.zip
external_gettext-00b6afb96ff530cb9ac3a2f06ad52c0e33e95535.tar.gz
external_gettext-00b6afb96ff530cb9ac3a2f06ad52c0e33e95535.tar.bz2
Fix build failures after config.h generation failed once.
Diffstat (limited to 'gettext-tools')
-rw-r--r--gettext-tools/libgettextpo/ChangeLog5
-rw-r--r--gettext-tools/libgettextpo/Makefile.am2
2 files changed, 6 insertions, 1 deletions
diff --git a/gettext-tools/libgettextpo/ChangeLog b/gettext-tools/libgettextpo/ChangeLog
index b99c069..47e8c10 100644
--- a/gettext-tools/libgettextpo/ChangeLog
+++ b/gettext-tools/libgettextpo/ChangeLog
@@ -1,5 +1,10 @@
2006-11-26 Bruno Haible <bruno@clisp.org>
+ * Makefile.am (config.h): When removing an object file, also remove
+ the corresponding .lo file.
+
+2006-11-26 Bruno Haible <bruno@clisp.org>
+
Support for VPATH builds.
* Makefile.am (config.h): Don't prepend "$(srcdir)/" to the source
file name if it is present in the build directory.
diff --git a/gettext-tools/libgettextpo/Makefile.am b/gettext-tools/libgettextpo/Makefile.am
index 02d8a86..68e7c13 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; \