openbox/nls/de_DE/Makefile.am

37 lines
1.3 KiB
Text
Raw Normal View History

2002-04-11 03:20:38 +00:00
# nls/de_DE/Makefile.am for Openbox
NLSTEST = @NLS@
CLEANFILES = openbox.cat
MAINTAINERCLEANFILES = Makefile.in Translation.m
DISTCLEANFILES = Translation.m
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
all-local: openbox.cat
install-data-local: openbox.cat
@if test x$(NLSTEST) = "x-DNLS"; then \
echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/de_DE"; \
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/de_DE; \
$(INSTALL_DATA) openbox.cat $(DESTDIR)$(pkgdatadir)/nls/de_DE; \
rm -f $(DESTDIR)$(pkgdatadir)/nls/de; \
ln -f -s de_DE $(DESTDIR)$(pkgdatadir)/nls/de; \
fi
uninstall-local:
@if test x$(NLSTEST) = "x-DNLS"; then \
rm -f $(DESTDIR)$(pkgdatadir)/nls/de_DE/openbox.cat; \
rm -f $(DESTDIR)$(pkgdatadir)/nls/de; \
rmdir $(DESTDIR)$(pkgdatadir)/nls/de_DE; \
fi
Translation.m: $(MFILES)
@if test x$(NLSTEST) = "x-DNLS"; then \
awk -f @srcdir@/../convert.awk output=Translation.m $(MFILES); \
fi
openbox.cat: Translation.m
@if test x$(NLSTEST) = "x-DNLS"; then \
$(gencat_cmd) openbox.cat Translation.m; \
fi
distclean-local:
rm -f *\~