aboutsummaryrefslogtreecommitdiff
path: root/nls/pt_PT/Makefile.am
diff options
context:
space:
mode:
authorrathnor <rathnor>2004-06-20 13:48:46 (GMT)
committerrathnor <rathnor>2004-06-20 13:48:46 (GMT)
commitc144177c5c43ce35cf8c7b0e888a597d6292b39a (patch)
tree23c3fc18b03aa61918bc7fb4c6f7e69dd795f5b1 /nls/pt_PT/Makefile.am
parentabc86f0028402a54ef74c378cf5b6805f01e0347 (diff)
downloadfluxbox-c144177c5c43ce35cf8c7b0e888a597d6292b39a.zip
fluxbox-c144177c5c43ce35cf8c7b0e888a597d6292b39a.tar.bz2
Conversion of old nls files to new string names...
Change to new style of working.
Diffstat (limited to 'nls/pt_PT/Makefile.am')
-rw-r--r--nls/pt_PT/Makefile.am35
1 files changed, 12 insertions, 23 deletions
diff --git a/nls/pt_PT/Makefile.am b/nls/pt_PT/Makefile.am
index 7ece564..325d644 100644
--- a/nls/pt_PT/Makefile.am
+++ b/nls/pt_PT/Makefile.am
@@ -1,33 +1,22 @@
1# nls/pt_PT/Makefile.am for Fluxbox - an X11 Window Manager 1# nls/pt_PT/Makefile.am for Fluxbox - www.fluxbox.org
2 2
3THE_LANG = pt_PT 3THE_LANG = pt_PT
4CODESET = ISO-8859-1
5 4
6NLSTEST = @NLS@ 5NLSTEST = @NLS@
7CLEANFILES = fluxbox.cat 6CLEANFILES = fluxbox.cat
8MAINTAINERCLEANFILES = Makefile.in Translation.m 7MAINTAINERCLEANFILES = Makefile.in
9MFILES = 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 8MFILES = Translation.m
10EXTRA_DIST=$(MFILES) 9EXTRA_DIST= $(MFILES)
10
11all-local: fluxbox.cat 11all-local: fluxbox.cat
12install-data-local: fluxbox.cat 12install-data-local: fluxbox.cat
13 @if test x$(NLSTEST) = "x-DNLS"; then \ 13 @if test x$(NLSTEST) = "x-DNLS"; then echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/$(THE_LA
14 echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)"; \ 14NG)"; $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); $(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(pkgdatadir)/nls/$(THE_LA
15 $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \ 15NG); fi
16 $(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
17 fi
18uninstall-local:
19 @if test x$(NLSTEST) = "x-DNLS"; then \
20 rm -f $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)/fluxbox.cat; \
21 rmdir $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
22 fi
23 16
24Translation.m: $(MFILES) 17uninstall-local:
25 @if test x$(NLSTEST) = "x-DNLS"; then \ 18 @if test x$(NLSTEST) = "x-DNLS"; then rm -f $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)/fluxbox.cat; rmdir $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); fi
26 rm -f Translation.m; \
27 awk -f ../convert.awk codeset=$(CODESET) output=Translation.m $(MFILES); \
28 fi
29 19
30fluxbox.cat: Translation.m 20fluxbox.cat: Translation.m
31 @if test x$(NLSTEST) = "x-DNLS"; then \ 21 @if test x$(NLSTEST) = "x-DNLS"; then $(gencat_cmd) fluxbox.cat Translation.m; fi
32 LANG=$(THE_LANG) $(gencat_cmd) fluxbox.cat Translation.m; \ 22
33 fi