diff options
Diffstat (limited to 'nls/de_DE/Makefile.am')
-rw-r--r-- | nls/de_DE/Makefile.am | 36 |
1 files changed, 9 insertions, 27 deletions
diff --git a/nls/de_DE/Makefile.am b/nls/de_DE/Makefile.am index de320ba..097ab60 100644 --- a/nls/de_DE/Makefile.am +++ b/nls/de_DE/Makefile.am | |||
@@ -1,40 +1,22 @@ | |||
1 | # nls/de_DE/Makefile.am for Fluxbox - fluxbox.sf.net | 1 | # nls/de_DE/Makefile.am for Fluxbox - www.fluxbox.org |
2 | 2 | ||
3 | THE_LANG = de_DE | 3 | THE_LANG = de_DE |
4 | CODESET = ISO-8859-1 | ||
5 | 4 | ||
6 | NLSTEST = @NLS@ | 5 | NLSTEST = @NLS@ |
7 | CLEANFILES = fluxbox.cat | 6 | CLEANFILES = fluxbox.cat |
8 | MAINTAINERCLEANFILES = Makefile.in Translation.m | 7 | MAINTAINERCLEANFILES = Makefile.in |
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 | 8 | MFILES = Translation.m |
10 | EXTRA_DIST= $(MFILES) | 9 | EXTRA_DIST= $(MFILES) |
11 | 10 | ||
12 | all-local: fluxbox.cat | 11 | all-local: fluxbox.cat |
13 | |||
14 | install-data-local: fluxbox.cat | 12 | install-data-local: fluxbox.cat |
15 | @if test x$(NLSTEST) = "x-DNLS"; then \ | 13 | @if test x$(NLSTEST) = "x-DNLS"; then echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/$(THE_LA |
16 | echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)"; \ | 14 | NG)"; $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); $(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(pkgdatadir)/nls/$(THE_LA |
17 | $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \ | 15 | NG); fi |
18 | $(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \ | ||
19 | fi | ||
20 | 16 | ||
21 | uninstall-local: | 17 | uninstall-local: |
22 | @if test x$(NLSTEST) = "x-DNLS"; then \ | 18 | @if test x$(NLSTEST) = "x-DNLS"; then rm -f $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)/fluxbox.cat; rmdir $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); fi |
23 | rm -f $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)/fluxbox.cat; \ | ||
24 | rmdir $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \ | ||
25 | fi | ||
26 | |||
27 | # note... when adding new catalogs... you do not need the | ||
28 | # header=../fluxbox-nls.hh which is passed to awk... we | ||
29 | # only need to generate it once. | ||
30 | |||
31 | Translation.m: $(MFILES) | ||
32 | @if test x$(NLSTEST) = "x-DNLS"; then \ | ||
33 | rm -f Translation.m; \ | ||
34 | awk -f ../convert.awk codeset=$(CODESET) output=Translation.m $(MFILES); \ | ||
35 | fi | ||
36 | 19 | ||
37 | fluxbox.cat: Translation.m | 20 | fluxbox.cat: Translation.m |
38 | @if test x$(NLSTEST) = "x-DNLS"; then \ | 21 | @if test x$(NLSTEST) = "x-DNLS"; then $(gencat_cmd) fluxbox.cat Translation.m; fi |
39 | $(gencat_cmd) fluxbox.cat Translation.m; \ | 22 | |
40 | fi | ||