]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Fix build failures after config.h generation failed once.
authorBruno Haible <bruno@clisp.org>
Mon, 27 Nov 2006 12:50:40 +0000 (12:50 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:14:24 +0000 (12:14 +0200)
gettext-tools/libgettextpo/ChangeLog
gettext-tools/libgettextpo/Makefile.am

index b99c069a930fd43f45350583d7315a9c580b721c..47e8c10a80c18b8ced457cf24eeddcf808683bc8 100644 (file)
@@ -1,3 +1,8 @@
+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.
index 02d8a86f5097f5302c740399dfc8b2139c4cf2f3..68e7c13badf825cd4a9f99c0182624ff10d786e1 100644 (file)
@@ -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; \