diff options
Diffstat (limited to 'nls/bg_BG/Makefile.am')
-rw-r--r-- | nls/bg_BG/Makefile.am | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/nls/bg_BG/Makefile.am b/nls/bg_BG/Makefile.am new file mode 100644 index 0000000..2b248d2 --- /dev/null +++ b/nls/bg_BG/Makefile.am | |||
@@ -0,0 +1,30 @@ | |||
1 | THE_LANG=bg_BG | ||
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 | |||
9 | all-local: blackbox.cat | ||
10 | install-data-local: blackbox.cat | ||
11 | @if test x$(NLSTEST) = "x-DNLS"; then \ | ||
12 | echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)"; \ | ||
13 | $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/sv_SE; \ | ||
14 | $(INSTALL_DATA) blackbox.cat $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \ | ||
15 | fi | ||
16 | uninstall-local: | ||
17 | @if test x$(NLSTEST) = "x-DNLS"; then \ | ||
18 | rm -f $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)/blackbox.cat; \ | ||
19 | rmdir $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \ | ||
20 | fi | ||
21 | |||
22 | Translation.m: $(MFILES) | ||
23 | @if test x$(NLSTEST) = "x-DNLS"; then \ | ||
24 | awk -f ../convert.awk output=Translation.m $(MFILES); \ | ||
25 | fi | ||
26 | |||
27 | blackbox.cat: Translation.m | ||
28 | @if test x$(NLSTEST) = "x-DNLS"; then \ | ||
29 | $(gencat_cmd) blackbox.cat Translation.m; \ | ||
30 | fi | ||