aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorH.J. Lu <hjl@gnu.org>2001-12-06 18:13:17 +0000
committerH.J. Lu <hjl@gcc.gnu.org>2001-12-06 10:13:17 -0800
commit7227d624a68ef1593412bc1f660465911c0f6dd7 (patch)
tree8e92916e1531e765643fc53c39cf5215457b7ed2 /gcc
parenta1a0fd4e18b29805534aa56e3910202395a792c3 (diff)
downloadgcc-7227d624a68ef1593412bc1f660465911c0f6dd7.zip
gcc-7227d624a68ef1593412bc1f660465911c0f6dd7.tar.gz
gcc-7227d624a68ef1593412bc1f660465911c0f6dd7.tar.bz2
Makefile.in (.po.gmo): Use "-test -d po || mkdir po" to reduce noise.
2001-12-06 H.J. Lu <hjl@gnu.org> * Makefile.in (.po.gmo): Use "-test -d po || mkdir po" to reduce noise. (.po.pox): Likewise. (o/$(PACKAGE).pot): Likewise. From-SVN: r47726
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/Makefile.in6
2 files changed, 10 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1714191..697824e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2001-12-06 H.J. Lu <hjl@gnu.org>
+
+ * Makefile.in (.po.gmo): Use "-test -d po || mkdir po" to
+ reduce noise.
+ (.po.pox): Likewise.
+ (o/$(PACKAGE).pot): Likewise.
+
2001-12-06 Alexandre Oliva <aoliva@redhat.com>
* tree.c (get_callee_fndecl): Move DECL_ABSTRACT_ORIGIN-following...
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 76d8bca..906c2b0 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -3318,7 +3318,7 @@ update-po: $(CATALOGS:.gmo=.pox)
# N.B. We do not attempt to copy these into $(srcdir). The snapshot
# script does that.
.po.gmo:
- -mkdir po
+ -test -d po || mkdir po
$(GMSGFMT) --statistics $< -o $@
# The new .po has to be gone over by hand, so we deposit it into
@@ -3326,7 +3326,7 @@ update-po: $(CATALOGS:.gmo=.pox)
# If build/po/$(PACKAGE).pot exists, use it (it was just created),
# else use the one in srcdir.
.po.pox:
- -mkdir po
+ -test -d po || mkdir po
$(MSGMERGE) $< `if test -f po/$(PACKAGE).pot; \
then echo po/$(PACKAGE).pot; \
else echo $(srcdir)/po/$(PACKAGE).pot; fi` -o $@
@@ -3359,7 +3359,7 @@ install-po:
# The .pot file is left in the build directory.
$(PACKAGE).pot: po/$(PACKAGE).pot
po/$(PACKAGE).pot: force
- -mkdir po
+ -test -d po || mkdir po
$(MAKE) po-generated
AWK=$(AWK) $(SHELL) $(srcdir)/po/exgettext \
$(XGETTEXT) $(PACKAGE) $(srcdir)