From: H.J. Lu Date: Thu, 6 Dec 2001 18:13:17 +0000 (+0000) Subject: Makefile.in (.po.gmo): Use "-test -d po || mkdir po" to reduce noise. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7227d624a68ef1593412bc1f660465911c0f6dd7;p=gcc.git Makefile.in (.po.gmo): Use "-test -d po || mkdir po" to reduce noise. 2001-12-06 H.J. Lu * Makefile.in (.po.gmo): Use "-test -d po || mkdir po" to reduce noise. (.po.pox): Likewise. (o/$(PACKAGE).pot): Likewise. From-SVN: r47726 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1714191b078..697824eed35 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2001-12-06 H.J. Lu + + * 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 * tree.c (get_callee_fndecl): Move DECL_ABSTRACT_ORIGIN-following... diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 76d8bca6c84..906c2b0b1a3 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)