openbox/nls/C/Makefile.am

36 lines
1.2 KiB
Text
Raw Normal View History

2002-05-24 23:49:05 +00:00
# Makefile.am for Blackbox - an X11 Window Manager
2002-04-11 03:20:38 +00:00
NLSTEST = @NLS@
2002-05-24 23:49:16 +00:00
THE_LANG = sv_SE
2002-05-24 23:49:05 +00:00
THE_NLS_PATH = $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)
2002-05-24 23:49:04 +00:00
CLEANFILES = blackbox.cat
2002-04-11 03:20:38 +00:00
MAINTAINERCLEANFILES = Makefile.in Translation.m
DISTCLEANFILES = Translation.m
2002-05-24 23:49:04 +00:00
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@/blackbox.m @srcdir@/common.m @srcdir@/main.m @srcdir@/bsetroot.m
2002-04-11 03:20:38 +00:00
2002-05-24 23:49:05 +00:00
all-local: blackbox.cat
2002-05-24 23:49:04 +00:00
install-data-local: blackbox.cat
2002-04-11 03:20:38 +00:00
@if test x$(NLSTEST) = "x-DNLS"; then \
2002-05-24 23:49:05 +00:00
echo "Installing catalog in $(THE_NLS_PATH)"; \
$(mkinstalldirs) $(THE_NLS_PATH); \
$(INSTALL_DATA) blackbox.cat $(THE_NLS_PATH); \
2002-04-11 03:20:38 +00:00
fi
uninstall-local:
@if test x$(NLSTEST) = "x-DNLS"; then \
2002-05-24 23:49:05 +00:00
rm -f $(THE_NLS_PATH)/blackbox.cat; \
rmdir $(THE_NLS_PATH); \
2002-04-11 03:20:38 +00:00
fi
Translation.m: $(MFILES)
2002-05-24 23:49:05 +00:00
@if test x$(NLSTEST) = "x-DNLS"; then \
awk -f @srcdir@/../convert.awk output=Translation.m $(MFILES); \
fi
2002-04-11 03:20:38 +00:00
2002-05-24 23:49:04 +00:00
blackbox.cat: Translation.m
2002-04-11 03:20:38 +00:00
@if test x$(NLSTEST) = "x-DNLS"; then \
2002-05-24 23:49:04 +00:00
$(gencat_cmd) blackbox.cat Translation.m; \
2002-04-11 03:20:38 +00:00
fi
distclean-local:
rm -f *\~