2002-02-24 18:51:59 +00:00
|
|
|
NLSTEST = @NLS@
|
2002-12-09 23:41:54 +00:00
|
|
|
CLEANFILES = fluxbox.cat
|
2002-02-24 18:51:59 +00:00
|
|
|
MAINTAINERCLEANFILES = Makefile.in Translation.m
|
2002-12-09 23:41:54 +00:00
|
|
|
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 fluxbox.m common.m main.m bsetroot.m
|
2002-02-24 18:51:59 +00:00
|
|
|
EXTRA_DIST=$(MFILES)
|
2002-12-09 23:41:54 +00:00
|
|
|
all-local: fluxbox.cat
|
|
|
|
install-data-local: fluxbox.cat
|
2002-02-24 18:51:59 +00:00
|
|
|
@if test x$(NLSTEST) = "x-DNLS"; then \
|
|
|
|
echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/ja_JP"; \
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/ja_JP; \
|
2002-12-09 23:41:54 +00:00
|
|
|
$(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(pkgdatadir)/nls/ja_JP; \
|
2002-02-24 18:51:59 +00:00
|
|
|
fi
|
|
|
|
uninstall-local:
|
|
|
|
@if test x$(NLSTEST) = "x-DNLS"; then \
|
2002-12-09 23:41:54 +00:00
|
|
|
rm -f $(DESTDIR)$(pkgdatadir)/nls/ja_JP/fluxbox.cat; \
|
2002-02-24 18:51:59 +00:00
|
|
|
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
|
|
|
|
|
2002-12-09 23:41:54 +00:00
|
|
|
fluxbox.cat: Translation.m
|
2002-02-24 18:51:59 +00:00
|
|
|
@if test x$(NLSTEST) = "x-DNLS"; then \
|
2002-12-09 23:41:54 +00:00
|
|
|
LANG=ja_JP $(gencat_cmd) fluxbox.cat Translation.m; \
|
2002-02-24 18:51:59 +00:00
|
|
|
fi
|