diff options
Diffstat (limited to 'nls/pt_PT')
-rw-r--r-- | nls/pt_PT/Makefile.am | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/nls/pt_PT/Makefile.am b/nls/pt_PT/Makefile.am index 179c9ef..f752463 100644 --- a/nls/pt_PT/Makefile.am +++ b/nls/pt_PT/Makefile.am | |||
@@ -2,6 +2,7 @@ | |||
2 | 2 | ||
3 | THE_LANG = pt_PT | 3 | THE_LANG = pt_PT |
4 | 4 | ||
5 | LOCALE_PATH = @LOCALE_PATH@ | ||
5 | NLSTEST = @NLS@ | 6 | NLSTEST = @NLS@ |
6 | CLEANFILES = fluxbox.cat | 7 | CLEANFILES = fluxbox.cat |
7 | MAINTAINERCLEANFILES = Makefile.in | 8 | MAINTAINERCLEANFILES = Makefile.in |
@@ -11,15 +12,15 @@ EXTRA_DIST= $(MFILES) | |||
11 | all-local: fluxbox.cat | 12 | all-local: fluxbox.cat |
12 | install-data-local: fluxbox.cat | 13 | install-data-local: fluxbox.cat |
13 | @if test x$(NLSTEST) = "x-DNLS"; then \ | 14 | @if test x$(NLSTEST) = "x-DNLS"; then \ |
14 | echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)"; \ | 15 | echo "Installing catalog in $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG)"; \ |
15 | $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \ | 16 | $(mkinstalldirs) $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG); \ |
16 | $(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \ | 17 | $(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG); \ |
17 | fi | 18 | fi |
18 | 19 | ||
19 | uninstall-local: | 20 | uninstall-local: |
20 | @if test x$(NLSTEST) = "x-DNLS"; then \ | 21 | @if test x$(NLSTEST) = "x-DNLS"; then \ |
21 | rm -f $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)/fluxbox.cat; \ | 22 | rm -f $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG)/fluxbox.cat; \ |
22 | rmdir $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \ | 23 | rmdir $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG); \ |
23 | fi | 24 | fi |
24 | 25 | ||
25 | fluxbox.cat: Translation.m | 26 | fluxbox.cat: Translation.m |