aboutsummaryrefslogtreecommitdiff
path: root/nls/de_DE/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'nls/de_DE/Makefile.am')
-rw-r--r--nls/de_DE/Makefile.am37
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
3NLSTEST = @NLS@
4CLEANFILES = fluxbox.cat
5MAINTAINERCLEANFILES = 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 fluxbox.m common.m main.m bsetroot.m
7EXTRA_DIST= $(MFILES)
8
9all-local: fluxbox.cat
10
11install-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
18uninstall-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
28Translation.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
34fluxbox.cat: Translation.m
35 @if test x$(NLSTEST) = "x-DNLS"; then \
36 $(gencat_cmd) fluxbox.cat Translation.m; \
37 fi