diff options
Diffstat (limited to 'nls/fr_FR/Makefile.am')
-rw-r--r-- | nls/fr_FR/Makefile.am | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/nls/fr_FR/Makefile.am b/nls/fr_FR/Makefile.am index 48255a2..4f7f43f 100644 --- a/nls/fr_FR/Makefile.am +++ b/nls/fr_FR/Makefile.am | |||
@@ -1,4 +1,7 @@ | |||
1 | # nls/fr_FR/Makefile.am for Blackbox-0.61.x - an X11 Window Manager | 1 | # nls/fr_FR/Makefile.am for Fluxbox - an X11 Window Manager |
2 | |||
3 | THE_LANG = fr_FR | ||
4 | CODESET = ISO-8859-15 | ||
2 | 5 | ||
3 | NLSTEST = @NLS@ | 6 | NLSTEST = @NLS@ |
4 | CLEANFILES = fluxbox.cat | 7 | CLEANFILES = fluxbox.cat |
@@ -9,26 +12,26 @@ EXTRA_DIST=$(MFILES) | |||
9 | all-local: fluxbox.cat | 12 | all-local: fluxbox.cat |
10 | install-data-local: fluxbox.cat | 13 | install-data-local: fluxbox.cat |
11 | @if test x$(NLSTEST) = "x-DNLS"; then \ | 14 | @if test x$(NLSTEST) = "x-DNLS"; then \ |
12 | echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/fr_FR"; \ | 15 | echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)"; \ |
13 | $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/fr_FR; \ | 16 | $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \ |
14 | $(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(pkgdatadir)/nls/fr_FR; \ | 17 | $(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \ |
15 | rm -f $(DESTDIR)$(pkgdatadir)/nls/fr; \ | 18 | rm -f $(DESTDIR)$(pkgdatadir)/nls/fr; \ |
16 | ln -fs fr_FR $(DESTDIR)$(pkgdatadir)/nls/fr; \ | 19 | ln -fs $(THE_LANG) $(DESTDIR)$(pkgdatadir)/nls/fr; \ |
17 | fi | 20 | fi |
18 | uninstall-local: | 21 | uninstall-local: |
19 | @if test x$(NLSTEST) = "x-DNLS"; then \ | 22 | @if test x$(NLSTEST) = "x-DNLS"; then \ |
20 | rm -f $(DESTDIR)$(pkgdatadir)/nls/fr_FR/fluxbox.cat; \ | 23 | rm -f $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)/fluxbox.cat; \ |
21 | rm -f $(DESTDIR)$(pkgdatadir)/nls/fr; \ | 24 | rm -f $(DESTDIR)$(pkgdatadir)/nls/fr; \ |
22 | rmdir $(DESTDIR)$(pkgdatadir)/nls/fr_FR; \ | 25 | rmdir $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \ |
23 | fi | 26 | fi |
24 | 27 | ||
25 | Translation.m: $(MFILES) | 28 | Translation.m: $(MFILES) |
26 | @if test x$(NLSTEST) = "x-DNLS"; then \ | 29 | @if test x$(NLSTEST) = "x-DNLS"; then \ |
27 | rm -f Translation.m; \ | 30 | rm -f Translation.m; \ |
28 | awk -f ../convert.awk output=Translation.m $(MFILES); \ | 31 | awk -f ../convert.awk codeset=$(CODESET) output=Translation.m $(MFILES); \ |
29 | fi | 32 | fi |
30 | 33 | ||
31 | fluxbox.cat: Translation.m | 34 | fluxbox.cat: Translation.m |
32 | @if test x$(NLSTEST) = "x-DNLS"; then \ | 35 | @if test x$(NLSTEST) = "x-DNLS"; then \ |
33 | LANG=fr_FR $(gencat_cmd) fluxbox.cat Translation.m; \ | 36 | LANG=$(THE_LANG) $(gencat_cmd) fluxbox.cat Translation.m; \ |
34 | fi | 37 | fi |