34 lines
1.2 KiB
Text
34 lines
1.2 KiB
Text
|
# nls/sv_SE/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/sv_SE"; \
|
||
|
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/sv_SE; \
|
||
|
$(INSTALL_DATA) openbox.cat $(DESTDIR)$(pkgdatadir)/nls/sv_SE; \
|
||
|
fi
|
||
|
uninstall-local:
|
||
|
@if test x$(NLSTEST) = "x-DNLS"; then \
|
||
|
rm -f $(DESTDIR)$(pkgdatadir)/nls/sv_SE/openbox.cat; \
|
||
|
rmdir $(DESTDIR)$(pkgdatadir)/nls/sv_SE; \
|
||
|
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 *\~
|