+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.
# 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
# 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 $@
# 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)
+2009-01-05 Ben Elliston <bje@au.ibm.com>
+
+ * Makefile.in (.po.gmo): Use mkinstalldirs, not test -d || mkdir.
+ (.po.pox): Likewise.
+ (po/$(PACKAGE).pot): Likewise.
+
2008-12-10 Alexandre Oliva <aoliva@redhat.com>
PR target/37033
# N.B. We do not attempt to copy these into $(srcdir).
.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
# 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
+ $(mkinstalldirs) po
$(MSGMERGE) $< `if test -f po/$(PACKAGE).pot; \
then echo po/$(PACKAGE).pot; \
else echo $(srcdir)/po/$(PACKAGE).pot; fi` -o $@
# Rule for regenerating the message template.
$(PACKAGE).pot: po/$(PACKAGE).pot
po/$(PACKAGE).pot: $(libcpp_a_SOURCES)
- -test -d $(srcdir)/po || mkdir $(srcdir)/po
+ mkinstalldirs $(srcdir)/po
$(XGETTEXT) --default-domain=$(PACKAGE) \
--keyword=_ --keyword=N_ \
--keyword=cpp_error:3 --keyword=cpp_errno:3 \