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