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