From 24c9a6c7cda5bfa7557ec64d234cd5a1563a6f41 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 17 Mar 2001 08:53:58 +0000 Subject: (install-data-yes): Install LC_TIME locale for all packages, not just for fileutils. (uninstall): Remove LC_TIME locale too. --- po/Makefile.in.in | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/po/Makefile.in.in b/po/Makefile.in.in index f9b34042d..ea54aaef7 100644 --- a/po/Makefile.in.in +++ b/po/Makefile.in.in @@ -150,13 +150,11 @@ install-data-yes: all true; \ fi; \ fi; \ - if test "$(PACKAGE)" = "fileutils"; then \ - timedir=$$destdir/$$lang/LC_TIME; \ - rm -fr $$timedir; \ - ln -s LC_MESSAGES $$timedir \ - || (mkdir $$timedir && ln $$dir/* $$timedir); \ - echo "installing $$timedir as an alias for $$dir"; \ - fi; \ + timedir=$$destdir/$$lang/LC_TIME; \ + rm -fr $$timedir; \ + ln -s LC_MESSAGES $$timedir \ + || (mkdir $$timedir && ln $$dir/* $$timedir); \ + echo "installing $$timedir as an alias for $$dir"; \ done if test "$(PACKAGE)" = "gettext"; then \ if test -x "$(MKINSTALLDIRS)"; then \ @@ -178,10 +176,13 @@ uninstall: for cat in $$catalogs; do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \ - rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT); \ - rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT).m; \ - rm -f $(DESTDIR)$(gnulocaledir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT); \ - rm -f $(DESTDIR)$(gnulocaledir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT).m; \ + for dir in $(localedir) $(gnulocaledir); do \ + for lc in LC_MESSAGES LC_TIME; do \ + for x in '' .m; do \ + rm -f $(DESTDIR)$$dir/$$lang/$$lc/$(PACKAGE)$(INSTOBJEXT)$$x; \ + done; \ + done; \ + done; \ done check: all -- cgit v1.2.3-70-g09d2