Makefile.in (.po.gmo): Use "-test -d po || mkdir po" to reduce noise.
authorH.J. Lu <hjl@gnu.org>
Thu, 6 Dec 2001 18:13:17 +0000 (18:13 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Thu, 6 Dec 2001 18:13:17 +0000 (10:13 -0800)
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

gcc/ChangeLog
gcc/Makefile.in

index 1714191b0785ccf6a51a2159d2c47a2ddf55f024..697824eed353797314044e791f2d8d7713e7760e 100644 (file)
@@ -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...
index 76d8bca6c848022edb729442ce0b1902c1dfbe6f..906c2b0b1a31e723950e86740ad985d3f3075999 100644 (file)
@@ -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)