aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2009-01-05 10:35:40 +0000
committerBen Elliston <bje@gcc.gnu.org>2009-01-05 21:35:40 +1100
commitfc0cd1807271550633138c197d4428e5405dd79d (patch)
treef04c4f141a939473ac101ad43c9d7ef85d2d5717 /gcc
parente28206ba6b932e4e9e8ca1a08bc131571b47ba89 (diff)
downloadgcc-fc0cd1807271550633138c197d4428e5405dd79d.zip
gcc-fc0cd1807271550633138c197d4428e5405dd79d.tar.gz
gcc-fc0cd1807271550633138c197d4428e5405dd79d.tar.bz2
Makefile.in (.po.gmo): Use mkinstalldirs, not test -d || mkdir.
libcpp/ * Makefile.in (.po.gmo): Use mkinstalldirs, not test -d || mkdir. (.po.pox): Likewise. (po/$(PACKAGE).pot): Likewise. gcc/ * Makefile.in (.po.gmo): Use mkinstalldirs, not test -d || mkdir. (.po.pox): Likewise. (po/gcc.pot): Likewise. From-SVN: r143073
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/Makefile.in6
2 files changed, 9 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4a0b936..44c38d0 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2009-01-05 Ben Elliston <bje@au.ibm.com>
+
+ * Makefile.in (.po.gmo): Use mkinstalldirs, not test -d || mkdir.
+ (.po.pox): Likewise.
+ (po/gcc.pot): Likewise.
+
2009-01-04 David S. Miller <davem@davemloft.net>
* config/sparc/sparc.h (SECONDARY_MEMORY_NEEDED_RTX): Delete.
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 78d424e..1b89c0d 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -4742,7 +4742,7 @@ update-po: $(CATALOGS:.gmo=.pox)
# N.B. We do not attempt to copy these into $(srcdir). The snapshot
# script does that.
.po.gmo:
- -test -d po || mkdir po
+ $(mkinstalldirs) po
$(GMSGFMT) --statistics -o $@ $<
# The new .po has to be gone over by hand, so we deposit it into
@@ -4750,7 +4750,7 @@ update-po: $(CATALOGS:.gmo=.pox)
# If build/po/gcc.pot exists, use it (it was just created),
# else use the one in srcdir.
.po.pox:
- -test -d po || mkdir po
+ $(mkinstalldirs) po
$(MSGMERGE) $< `if test -f po/gcc.pot; \
then echo po/gcc.pot; \
else echo $(srcdir)/po/gcc.pot; fi` -o $@
@@ -4783,7 +4783,7 @@ install-po:
# The .pot file is left in the build directory.
gcc.pot: po/gcc.pot
po/gcc.pot: force
- -test -d po || mkdir po
+ $(mkinstalldirs) po
$(MAKE) srcextra
AWK=$(AWK) $(SHELL) $(srcdir)/po/exgettext \
$(XGETTEXT) gcc $(srcdir)