OSDN Git Service

2001-12-06 H.J. Lu <hjl@gnu.org>
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 6 Dec 2001 17:49:09 +0000 (17:49 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 6 Dec 2001 17:49:09 +0000 (17:49 +0000)
* Makefile.in (.po.gmo): Use "-mkdir po" for parallel build.
(.po.pox): Likewise.
(o/$(PACKAGE).pot): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47724 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/Makefile.in

index a35249c..6ce3c3b 100644 (file)
@@ -1,3 +1,9 @@
+2001-12-06  H.J. Lu <hjl@gnu.org>
+
+       * Makefile.in (.po.gmo): Use "-mkdir po" for parallel build.
+       (.po.pox): Likewise.
+       (o/$(PACKAGE).pot): Likewise.
+
 2001-12-06  David O'Brien  <obrien@FreeBSD.org>
 
        * config.gcc: Include dbxelf.h before elfos.h.
 2001-12-06  David O'Brien  <obrien@FreeBSD.org>
 
        * config.gcc: Include dbxelf.h before elfos.h.
index 952ecd3..76d8bca 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:
 # N.B. We do not attempt to copy these into $(srcdir).  The snapshot
 # script does that.
 .po.gmo:
-       test -d po || mkdir po
+       -mkdir po
        $(GMSGFMT) --statistics $< -o $@
 
 # The new .po has to be gone over by hand, so we deposit it into
        $(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:
 # If build/po/$(PACKAGE).pot exists, use it (it was just created),
 # else use the one in srcdir.
 .po.pox:
-       test -d po || mkdir po
+       -mkdir po
        $(MSGMERGE) $< `if test -f po/$(PACKAGE).pot; \
                        then echo po/$(PACKAGE).pot; \
                        else echo $(srcdir)/po/$(PACKAGE).pot; fi` -o $@
        $(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
 # The .pot file is left in the build directory.
 $(PACKAGE).pot: po/$(PACKAGE).pot
 po/$(PACKAGE).pot: force
-       test -d po || mkdir po
+       -mkdir po
        $(MAKE) po-generated
        AWK=$(AWK) $(SHELL) $(srcdir)/po/exgettext \
                $(XGETTEXT) $(PACKAGE) $(srcdir)
        $(MAKE) po-generated
        AWK=$(AWK) $(SHELL) $(srcdir)/po/exgettext \
                $(XGETTEXT) $(PACKAGE) $(srcdir)