diff options
Diffstat (limited to 'nls/it_IT/Makefile.am')
-rw-r--r-- | nls/it_IT/Makefile.am | 28 |
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 | ||
3 | THE_LANG = it_IT | ||
4 | CODESET = ISO-8859-1 | ||
5 | |||
3 | NLSTEST = @NLS@ | 6 | NLSTEST = @NLS@ |
4 | CLEANFILES = blackbox.cat | 7 | CLEANFILES = fluxbox.cat |
5 | MAINTAINERCLEANFILES = Makefile.in Translation.m | 8 | MAINTAINERCLEANFILES = Makefile.in Translation.m |
6 | MFILES = 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 | 9 | MFILES = 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 |
7 | EXTRA_DIST= $(MFILES) | 10 | EXTRA_DIST= $(MFILES) |
8 | 11 | ||
9 | all-local: blackbox.cat | 12 | all-local: fluxbox.cat |
10 | install-data-local: blackbox.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/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 |
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/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 | ||
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 | 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 | ||
27 | blackbox.cat: Translation.m | 31 | fluxbox.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 |