]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Don't use @CATALOGS@ if NLS is disabled.
authorBruno Haible <bruno@clisp.org>
Thu, 2 Aug 2001 13:23:32 +0000 (13:23 +0000)
committerBruno Haible <bruno@clisp.org>
Thu, 2 Aug 2001 13:23:32 +0000 (13:23 +0000)
po/ChangeLog
po/Makefile.in.in

index df8d578368224df7c1d6927e5a755d62b287294e..59e3b1d71f0993b5ebf156d63a2b731345e14248 100644 (file)
@@ -1,3 +1,10 @@
+2001-07-22  Bruno Haible  <haible@clisp.cons.org>
+
+       * 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  <haible@clisp.cons.org>
 
        * gl.po: Update from Jesús Bravo Álvarez <jba@pobox.com>.
index 3a538eebd26aa6495433ace892418f63faa5d9b3..2636ea857c403376c15f94fe63576c8a1f13c74f 100644 (file)
@@ -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