fluxbox/nls/ja_JP/Makefile.am

29 lines
1 KiB
Text
Raw Normal View History

2002-02-24 18:51:59 +00:00
NLSTEST = @NLS@
CLEANFILES = blackbox.cat
MAINTAINERCLEANFILES = Makefile.in Translation.m
MFILES = BaseDisplay.m Basemenu.m Configmenu.m Icon.m Image.m Screen.m Slit.m Toolbar.m Window.m Windowmenu.m Workspace.m Workspacemenu.m blackbox.m common.m main.m bsetroot.m
EXTRA_DIST=$(MFILES)
all-local: blackbox.cat
install-data-local: blackbox.cat
@if test x$(NLSTEST) = "x-DNLS"; then \
echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/ja_JP"; \
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/ja_JP; \
$(INSTALL_DATA) blackbox.cat $(DESTDIR)$(pkgdatadir)/nls/ja_JP; \
fi
uninstall-local:
@if test x$(NLSTEST) = "x-DNLS"; then \
rm -f $(DESTDIR)$(pkgdatadir)/nls/ja_JP/blackbox.cat; \
rmdir $(DESTDIR)$(pkgdatadir)/nls/ja_JP; \
fi
Translation.m: $(MFILES)
@if test x$(NLSTEST) = "x-DNLS"; then \
2002-04-12 15:15:46 +00:00
rm -f Translation.m; \
2002-02-24 18:51:59 +00:00
awk -f ../convert.awk output=Translation.m $(MFILES); \
fi
blackbox.cat: Translation.m
@if test x$(NLSTEST) = "x-DNLS"; then \
2002-04-12 15:15:46 +00:00
LANG=ja_JP $(gencat_cmd) blackbox.cat Translation.m; \
2002-02-24 18:51:59 +00:00
fi