From: Bruno Haible Date: Thu, 2 Aug 2001 13:23:32 +0000 (+0000) Subject: Don't use @CATALOGS@ if NLS is disabled. X-Git-Tag: v0.11~569 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=860a3c9bf420cf3e19103d35646e38557a6f1ea3;p=thirdparty%2Fgettext.git Don't use @CATALOGS@ if NLS is disabled. --- diff --git a/po/ChangeLog b/po/ChangeLog index df8d57836..59e3b1d71 100644 --- a/po/ChangeLog +++ b/po/ChangeLog @@ -1,3 +1,10 @@ +2001-07-22 Bruno Haible + + * Makefile.in.in: Ensure @CATALOGS@ is not used if NLS is disabled. + (uninstall): Depend on uninstall-exec and uninstall-data. + (uninstall-exec, uninstall-data, uninstall-data-no, + uninstall-data-yes): New rules. + 2001-07-29 Bruno Haible * gl.po: Update from Jesús Bravo Álvarez . diff --git a/po/Makefile.in.in b/po/Makefile.in.in index 3a538eebd..2636ea857 100644 --- a/po/Makefile.in.in +++ b/po/Makefile.in.in @@ -124,18 +124,22 @@ install-data-yes: all # Define this as empty until I found a useful application. installcheck: -uninstall: +uninstall: uninstall-exec uninstall-data +uninstall-exec: +uninstall-data: uninstall-data-@USE_NLS@ + if test "$(PACKAGE)" = "gettext"; then \ + rm -f $(DESTDIR)$(gettextsrcdir)/Makefile.in.in; \ + else \ + : ; \ + fi +uninstall-data-no: +uninstall-data-yes: catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed 's/\.gmo$$//'`; \ rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(PACKAGE).mo; \ done - if test "$(PACKAGE)" = "gettext"; then \ - rm -f $(DESTDIR)$(gettextsrcdir)/Makefile.in.in; \ - else \ - : ; \ - fi check: all