fluxbox/nls/lv_LV/Makefile.am

36 lines
1.2 KiB
Text
Raw Normal View History

2003-10-04 12:44:47 +00:00
# nls/lv_LV/Makefile.am for Fluxbox - an X11 Window Manager
THE_LANG = lv_LV
CODESET = ISO-8859-13
2002-09-21 13:52:17 +00:00
NLSTEST = @NLS@
2002-12-09 23:41:54 +00:00
CLEANFILES = fluxbox.cat
2002-09-21 13:52:17 +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-09-21 13:52:17 +00:00
EXTRA_DIST=$(MFILES)
2002-12-09 23:41:54 +00:00
all-local: fluxbox.cat
install-data-local: fluxbox.cat
2002-09-21 13:52:17 +00:00
@if test x$(NLSTEST) = "x-DNLS"; then \
2003-10-04 12:44:47 +00:00
echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)"; \
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
$(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
2002-09-21 13:52:17 +00:00
rm -f $(DESTDIR)$(pkgdatadir)/nls/lv; \
2003-10-04 12:44:47 +00:00
ln -fs $(THE_LANG) $(DESTDIR)$(pkgdatadir)/nls/lv; \
2002-09-21 13:52:17 +00:00
fi
uninstall-local:
@if test x$(NLSTEST) = "x-DNLS"; then \
2003-10-04 12:44:47 +00:00
rm -f $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)/fluxbox.cat; \
rmdir $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
2002-09-21 13:52:17 +00:00
fi
Translation.m: $(MFILES)
@if test x$(NLSTEST) = "x-DNLS"; then \
rm -f Translation.m; \
2003-10-04 12:44:47 +00:00
awk -f ../convert.awk codeset=$(CODESET) output=Translation.m $(MFILES); \
2002-09-21 13:52:17 +00:00
fi
2002-12-09 23:41:54 +00:00
fluxbox.cat: Translation.m
2002-09-21 13:52:17 +00:00
@if test x$(NLSTEST) = "x-DNLS"; then \
2003-10-04 12:44:47 +00:00
LANG=$(THE_LANG) $(gencat_cmd) fluxbox.cat Translation.m; \
2002-09-21 13:52:17 +00:00
fi