diff options
Diffstat (limited to 'nls/C/Makefile.am')
-rw-r--r-- | nls/C/Makefile.am | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/nls/C/Makefile.am b/nls/C/Makefile.am index 7ed9025..2f429ad 100644 --- a/nls/C/Makefile.am +++ b/nls/C/Makefile.am | |||
@@ -1,4 +1,7 @@ | |||
1 | # nls/C/Makefile.am for Blackbox-0.61.x - an X11 Window Manager | 1 | # nls/C/Makefile.am for Fluxbox - an X11 Window Manager |
2 | |||
3 | THE_LANG = C | ||
4 | # no CODESET | ||
2 | 5 | ||
3 | NLSTEST = @NLS@ | 6 | NLSTEST = @NLS@ |
4 | CLEANFILES = fluxbox.cat | 7 | CLEANFILES = fluxbox.cat |
@@ -8,9 +11,9 @@ EXTRA_DIST= $(MFILES) | |||
8 | all-local: fluxbox.cat | 11 | all-local: fluxbox.cat |
9 | install-data-local: fluxbox.cat | 12 | install-data-local: fluxbox.cat |
10 | @if test x$(NLSTEST) = "x-DNLS"; then \ | 13 | @if test x$(NLSTEST) = "x-DNLS"; then \ |
11 | echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/C"; \ | 14 | echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)"; \ |
12 | $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/C; \ | 15 | $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \ |
13 | $(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(pkgdatadir)/nls/C; \ | 16 | $(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \ |
14 | rm -f $(DESTDIR)$(pkgdatadir)/nls/US_ASCII; \ | 17 | rm -f $(DESTDIR)$(pkgdatadir)/nls/US_ASCII; \ |
15 | ln -fs C $(DESTDIR)$(pkgdatadir)/nls/US_ASCII; \ | 18 | ln -fs C $(DESTDIR)$(pkgdatadir)/nls/US_ASCII; \ |
16 | rm -f $(DESTDIR)$(pkgdatadir)/nls/POSIX; \ | 19 | rm -f $(DESTDIR)$(pkgdatadir)/nls/POSIX; \ |
@@ -22,12 +25,12 @@ install-data-local: fluxbox.cat | |||
22 | fi | 25 | fi |
23 | uninstall-local: | 26 | uninstall-local: |
24 | @if test x$(NLSTEST) = "x-DNLS"; then \ | 27 | @if test x$(NLSTEST) = "x-DNLS"; then \ |
25 | rm -f $(DESTDIR)$(pkgdatadir)/nls/C/fluxbox.cat; \ | 28 | rm -f $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)/fluxbox.cat; \ |
26 | rm -f $(DESTDIR)$(pkgdatadir)/nls/US_ASCII; \ | 29 | rm -f $(DESTDIR)$(pkgdatadir)/nls/US_ASCII; \ |
27 | rm -f $(DESTDIR)$(pkgdatadir)/nls/POSIX; \ | 30 | rm -f $(DESTDIR)$(pkgdatadir)/nls/POSIX; \ |
28 | rm -f $(DESTDIR)$(pkgdatadir)/nls/en_US; \ | 31 | rm -f $(DESTDIR)$(pkgdatadir)/nls/en_US; \ |
29 | rm -f $(DESTDIR)$(pkgdatadir)/nls/en; \ | 32 | rm -f $(DESTDIR)$(pkgdatadir)/nls/en; \ |
30 | rmdir $(DESTDIR)$(pkgdatadir)/nls/C; \ | 33 | rmdir $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \ |
31 | fi | 34 | fi |
32 | 35 | ||
33 | # note... when adding new catalogs... you do not need the | 36 | # note... when adding new catalogs... you do not need the |