~ubuntu-branches/ubuntu/vivid/blackbox/vivid

« back to all changes in this revision

Viewing changes to nls/sv_SE/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Jesus Climent
  • Date: 2003-10-15 15:38:53 UTC
  • Revision ID: james.westby@ubuntu.com-20031015153853-c08p60n6fes52hs1
Tags: 0.65.0-1.2
* Non Maintainer Upload
* Patch by Matt Kraai to solve FTBFS: Closes: #208814.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# nls/sv_SE/Makefile.am for Blackbox - an X11 Window Manager
 
1
# Makefile.am for Blackbox - an X11 Window Manager
2
2
 
3
3
NLSTEST = @NLS@
 
4
THE_LANG = sv_SE
 
5
THE_NLS_PATH = $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)
4
6
CLEANFILES = blackbox.cat
5
7
MAINTAINERCLEANFILES = Makefile.in Translation.m
6
8
DISTCLEANFILES = Translation.m
9
11
all-local: blackbox.cat
10
12
install-data-local: blackbox.cat
11
13
        @if test x$(NLSTEST) = "x-DNLS"; then \
12
 
                echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/sv_SE"; \
13
 
                $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/sv_SE; \
14
 
                $(INSTALL_DATA) blackbox.cat $(DESTDIR)$(pkgdatadir)/nls/sv_SE; \
 
14
                echo "Installing catalog in $(THE_NLS_PATH)"; \
 
15
                $(mkinstalldirs) $(THE_NLS_PATH); \
 
16
                $(INSTALL_DATA) blackbox.cat $(THE_NLS_PATH); \
15
17
        fi
16
18
uninstall-local:
17
19
        @if test x$(NLSTEST) = "x-DNLS"; then \
18
 
                rm -f $(DESTDIR)$(pkgdatadir)/nls/sv_SE/blackbox.cat; \
19
 
                rmdir $(DESTDIR)$(pkgdatadir)/nls/sv_SE; \
 
20
                rm -f $(THE_NLS_PATH)/blackbox.cat; \
 
21
                rmdir $(THE_NLS_PATH); \
20
22
        fi
21
23
 
22
24
Translation.m: $(MFILES)
23
25
        @if test x$(NLSTEST) = "x-DNLS"; then \
24
 
                awk -f @srcdir@/../convert.awk output=Translation.m $(MFILES); \
 
26
                awk -f @srcdir@/../convert.awk codeset=ISO-8859-1 output=Translation.m $(MFILES); \
25
27
        fi
26
28
 
27
29
blackbox.cat: Translation.m
30
32
        fi
31
33
 
32
34
distclean-local:
33
 
        rm -f *\~
 
35
        rm -f *\~ .\#*