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