summaryrefslogtreecommitdiff
path: root/nls/fr_FR/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'nls/fr_FR/Makefile.am')
-rw-r--r--nls/fr_FR/Makefile.am21
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
3THE_LANG = fr_FR
4CODESET = ISO-8859-15
2 5
3NLSTEST = @NLS@ 6NLSTEST = @NLS@
4CLEANFILES = fluxbox.cat 7CLEANFILES = fluxbox.cat
@@ -9,26 +12,26 @@ EXTRA_DIST=$(MFILES)
9all-local: fluxbox.cat 12all-local: fluxbox.cat
10install-data-local: fluxbox.cat 13install-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
18uninstall-local: 21uninstall-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
25Translation.m: $(MFILES) 28Translation.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
31fluxbox.cat: Translation.m 34fluxbox.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