diff options
author | Jim Meyering <jim@meyering.net> | 2001-03-17 08:53:58 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-03-17 08:53:58 +0000 |
commit | 24c9a6c7cda5bfa7557ec64d234cd5a1563a6f41 (patch) | |
tree | d0b06a44de451c2eec43e5ed2f4a53b5de0e9df7 | |
parent | 9f9610d9833dd394269443111e4e612c55cdd820 (diff) | |
download | coreutils-24c9a6c7cda5bfa7557ec64d234cd5a1563a6f41.tar.xz |
(install-data-yes): Install LC_TIME locale
for all packages, not just for fileutils.
(uninstall): Remove LC_TIME locale too.
-rw-r--r-- | po/Makefile.in.in | 23 |
1 files 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 |