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