added new bsetbg manpage
[mikachu/openbox.git] / nls / da_DK / Makefile.am
1 # nls/da_DK/Makefile.am for Openbox
2
3 NLSTEST = @NLS@
4 CLEANFILES = openbox.cat
5 MAINTAINERCLEANFILES = Makefile.in Translation.m
6 DISTCLEANFILES = Translation.m
7 MFILES = @srcdir@/BaseDisplay.m @srcdir@/Basemenu.m @srcdir@/Configmenu.m @srcdir@/Icon.m @srcdir@/Image.m @srcdir@/Screen.m @srcdir@/Slit.m @srcdir@/Toolbar.m @srcdir@/Window.m @srcdir@/Windowmenu.m @srcdir@/Workspace.m @srcdir@/Workspacemenu.m @srcdir@/openbox.m @srcdir@/common.m @srcdir@/main.m @srcdir@/bsetroot.m
8
9 all-local: openbox.cat
10 install-data-local: openbox.cat
11         @if test x$(NLSTEST) = "x-DNLS"; then \
12                 echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/da_DK"; \
13                 $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/da_DK; \
14                 $(INSTALL_DATA) openbox.cat $(DESTDIR)$(pkgdatadir)/nls/da_DK; \
15         fi
16 uninstall-local:
17         @if test x$(NLSTEST) = "x-DNLS"; then \
18                 rm -f $(DESTDIR)$(pkgdatadir)/nls/da_DK/openbox.cat; \
19                 rmdir $(DESTDIR)$(pkgdatadir)/nls/da_DK; \
20         fi
21
22 Translation.m: $(MFILES)
23         @if test x$(NLSTEST) = "x-DNLS"; then \
24                 awk -f @srcdir@/../convert.awk output=Translation.m $(MFILES); \
25         fi
26
27 openbox.cat: Translation.m
28         @if test x$(NLSTEST) = "x-DNLS"; then \
29                 $(gencat_cmd) openbox.cat Translation.m; \
30         fi
31
32 distclean-local:
33         rm -f *\~