From: Bruno Haible Date: Fri, 2 May 2003 09:34:01 +0000 (+0000) Subject: "make all" must work even if $CATALOGS is empty. X-Git-Tag: v0.12~55 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd88bc74f87e028bc681bb6989e5108fa30e2267;p=thirdparty%2Fgettext.git "make all" must work even if $CATALOGS is empty. --- diff --git a/gettext-runtime/po/ChangeLog b/gettext-runtime/po/ChangeLog index d647bd49c..791c51898 100644 --- a/gettext-runtime/po/ChangeLog +++ b/gettext-runtime/po/ChangeLog @@ -1,3 +1,8 @@ +2003-04-29 Bruno Haible + + * Makefile.in.in (stamp-po, update-po): Avoid infinite recursion if + LINGUAS is empty. + 2003-04-22 Bruno Haible * sk.po: Update from Marcel Telka . diff --git a/gettext-runtime/po/Makefile.in.in b/gettext-runtime/po/Makefile.in.in index cfe7e01e9..27b721aa8 100644 --- a/gettext-runtime/po/Makefile.in.in +++ b/gettext-runtime/po/Makefile.in.in @@ -86,7 +86,7 @@ all-no: # $(POFILES) has been designed to not touch files that don't need to be # changed. stamp-po: $(srcdir)/$(DOMAIN).pot - $(MAKE) $(CATALOGS) + test -z "$(CATALOGS)" || $(MAKE) $(CATALOGS) @echo "touch stamp-po" @echo timestamp > stamp-poT @mv stamp-poT stamp-po @@ -307,7 +307,7 @@ dist2: $(DISTFILES) update-po: Makefile $(MAKE) $(DOMAIN).pot-update - $(MAKE) $(UPDATEPOFILES) + test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES) $(MAKE) update-gmo # General rule for updating PO files. diff --git a/gettext-tools/po/ChangeLog b/gettext-tools/po/ChangeLog index 99d67ac85..a744bff74 100644 --- a/gettext-tools/po/ChangeLog +++ b/gettext-tools/po/ChangeLog @@ -1,3 +1,8 @@ +2003-04-29 Bruno Haible + + * Makefile.in.in (stamp-po, update-po): Avoid infinite recursion if + LINGUAS is empty. + 2003-04-22 Bruno Haible * sk.po: Update from Marcel Telka . diff --git a/gettext-tools/po/Makefile.in.in b/gettext-tools/po/Makefile.in.in index cfe7e01e9..27b721aa8 100644 --- a/gettext-tools/po/Makefile.in.in +++ b/gettext-tools/po/Makefile.in.in @@ -86,7 +86,7 @@ all-no: # $(POFILES) has been designed to not touch files that don't need to be # changed. stamp-po: $(srcdir)/$(DOMAIN).pot - $(MAKE) $(CATALOGS) + test -z "$(CATALOGS)" || $(MAKE) $(CATALOGS) @echo "touch stamp-po" @echo timestamp > stamp-poT @mv stamp-poT stamp-po @@ -307,7 +307,7 @@ dist2: $(DISTFILES) update-po: Makefile $(MAKE) $(DOMAIN).pot-update - $(MAKE) $(UPDATEPOFILES) + test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES) $(MAKE) update-gmo # General rule for updating PO files.