aboutsummaryrefslogtreecommitdiff
path: root/nls/it_IT/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'nls/it_IT/Makefile.am')
-rw-r--r--nls/it_IT/Makefile.am28
1 files changed, 16 insertions, 12 deletions
diff --git a/nls/it_IT/Makefile.am b/nls/it_IT/Makefile.am
index d4df390..8a9e178 100644
--- a/nls/it_IT/Makefile.am
+++ b/nls/it_IT/Makefile.am
@@ -1,30 +1,34 @@
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
3THE_LANG = it_IT
4CODESET = ISO-8859-1
5
3NLSTEST = @NLS@ 6NLSTEST = @NLS@
4CLEANFILES = blackbox.cat 7CLEANFILES = fluxbox.cat
5MAINTAINERCLEANFILES = Makefile.in Translation.m 8MAINTAINERCLEANFILES = Makefile.in Translation.m
6MFILES = BaseDisplay.m Basemenu.m Configmenu.m Icon.m Image.m Screen.m Slit.m Toolbar.m Window.m Windowmenu.m Workspace.m Workspacemenu.m blackbox.m common.m main.m bsetroot.m 9MFILES = BaseDisplay.m Basemenu.m Configmenu.m Icon.m Image.m Screen.m Slit.m Toolbar.m Window.m Windowmenu.m Workspace.m Workspacemenu.m fluxbox.m common.m main.m bsetroot.m
7EXTRA_DIST= $(MFILES) 10EXTRA_DIST= $(MFILES)
8 11
9all-local: blackbox.cat 12all-local: fluxbox.cat
10install-data-local: blackbox.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/it_IT"; \ 15 echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)"; \
13 $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/da_DK; \ 16 $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
14 $(INSTALL_DATA) blackbox.cat $(DESTDIR)$(pkgdatadir)/nls/it_IT; \ 17 $(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
15 fi 18 fi
16uninstall-local: 19uninstall-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/blackbox.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
22Translation.m: $(MFILES) 25Translation.m: $(MFILES)
23 @if test x$(NLSTEST) = "x-DNLS"; then \ 26 @if test x$(NLSTEST) = "x-DNLS"; then \
24 awk -f ../convert.awk output=Translation.m $(MFILES); \ 27 rm -f Translation.m; \
28 awk -f ../convert.awk codeset=$(CODESET) output=Translation.m $(MFILES); \
25 fi 29 fi
26 30
27blackbox.cat: Translation.m 31fluxbox.cat: Translation.m
28 @if test x$(NLSTEST) = "x-DNLS"; then \ 32 @if test x$(NLSTEST) = "x-DNLS"; then \
29 $(gencat_cmd) blackbox.cat Translation.m; \ 33 LANG=$(THE_LANG) $(gencat_cmd) fluxbox.cat Translation.m; \
30 fi 34 fi