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