This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Fix cpplib .pot regeneration
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sat, 28 Mar 2009 06:59:14 +0000 (UTC)
- Subject: Fix cpplib .pot regeneration
Regeneration of cpplib.pot was broken by:
2009-01-05 Ben Elliston <bje@au.ibm.com>
* Makefile.in (.po.gmo): Use mkinstalldirs, not test -d || mkdir.
(.po.pox): Likewise.
(po/$(PACKAGE).pot): Likewise.
because it used a literal mkinstalldirs not $(mkinstalldirs). I've
applied this patch to trunk and 4.4 branch to fix this.
Index: Makefile.in
===================================================================
--- Makefile.in (revision 145158)
+++ Makefile.in (working copy)
@@ -236,7 +236,7 @@
# Rule for regenerating the message template.
$(PACKAGE).pot: po/$(PACKAGE).pot
po/$(PACKAGE).pot: $(libcpp_a_SOURCES)
- mkinstalldirs $(srcdir)/po
+ $(mkinstalldirs) $(srcdir)/po
$(XGETTEXT) --default-domain=$(PACKAGE) \
--keyword=_ --keyword=N_ \
--keyword=cpp_error:3 --keyword=cpp_errno:3 \
Index: ChangeLog
===================================================================
--- ChangeLog (revision 145158)
+++ ChangeLog (working copy)
@@ -1,3 +1,8 @@
+2009-03-28 Joseph Myers <joseph@codesourcery.com>
+
+ * Makefile.in (po/$(PACKAGE).pot): Use $(mkinstalldirs) not
+ mkinstalldirs.
+
2009-03-18 Jakub Jelinek <jakub@redhat.com>
* include/cpplib.h (struct cpp_dir): Reorder fields for 64-bit hosts.
--
Joseph S. Myers
joseph@codesourcery.com