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