This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]