aboutsummaryrefslogtreecommitdiff
path: root/nls/lv_LV/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'nls/lv_LV/Makefile.am')
-rw-r--r--nls/lv_LV/Makefile.am35
1 files changed, 35 insertions, 0 deletions
diff --git a/nls/lv_LV/Makefile.am b/nls/lv_LV/Makefile.am
new file mode 100644
index 0000000..0eb4e5d
--- /dev/null
+++ b/nls/lv_LV/Makefile.am
@@ -0,0 +1,35 @@
1# nls/lv_LV/Makefile.am for Fluxbox - an X11 Window Manager
2
3THE_LANG = lv_LV
4CODESET = ISO-8859-13
5
6NLSTEST = @NLS@
7CLEANFILES = fluxbox.cat
8MAINTAINERCLEANFILES = Makefile.in Translation.m
9MFILES = 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
10EXTRA_DIST=$(MFILES)
11all-local: fluxbox.cat
12install-data-local: fluxbox.cat
13 @if test x$(NLSTEST) = "x-DNLS"; then \
14 echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)"; \
15 $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
16 $(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
17 rm -f $(DESTDIR)$(pkgdatadir)/nls/lv; \
18 ln -fs $(THE_LANG) $(DESTDIR)$(pkgdatadir)/nls/lv; \
19 fi
20uninstall-local:
21 @if test x$(NLSTEST) = "x-DNLS"; then \
22 rm -f $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)/fluxbox.cat; \
23 rmdir $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
24 fi
25
26Translation.m: $(MFILES)
27 @if test x$(NLSTEST) = "x-DNLS"; then \
28 rm -f Translation.m; \
29 awk -f ../convert.awk codeset=$(CODESET) output=Translation.m $(MFILES); \
30 fi
31
32fluxbox.cat: Translation.m
33 @if test x$(NLSTEST) = "x-DNLS"; then \
34 LANG=$(THE_LANG) $(gencat_cmd) fluxbox.cat Translation.m; \
35 fi