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