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

« back to all changes in this revision

Viewing changes to nls/uk_UA/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
# Makefile.am for Blackbox - an X11 Window Manager
 
2
 
 
3
NLSTEST = @NLS@
 
4
THE_LANG = uk_UA
 
5
THE_NLS_PATH = $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)
 
6
CLEANFILES = blackbox.cat
 
7
MAINTAINERCLEANFILES = Makefile.in Translation.m
 
8
DISTCLEANFILES = Translation.m
 
9
MFILES = @srcdir@/BaseDisplay.m @srcdir@/Basemenu.m @srcdir@/Configmenu.m @srcdir@/Icon.m @srcdir@/Image.m @srcdir@/Screen.m @srcdir@/Slit.m @srcdir@/Toolbar.m @srcdir@/Window.m @srcdir@/Windowmenu.m @srcdir@/Workspace.m @srcdir@/Workspacemenu.m @srcdir@/blackbox.m @srcdir@/common.m @srcdir@/main.m @srcdir@/bsetroot.m
 
10
 
 
11
all-local: blackbox.cat
 
12
install-data-local: blackbox.cat
 
13
        @if test x$(NLSTEST) = "x-DNLS"; then \
 
14
                echo "Installing catalog in $(THE_NLS_PATH)"; \
 
15
                $(mkinstalldirs) $(THE_NLS_PATH); \
 
16
                $(INSTALL_DATA) blackbox.cat $(THE_NLS_PATH); \
 
17
        fi
 
18
uninstall-local:
 
19
        @if test x$(NLSTEST) = "x-DNLS"; then \
 
20
                rm -f $(THE_NLS_PATH)/blackbox.cat; \
 
21
                rmdir $(THE_NLS_PATH); \
 
22
        fi
 
23
 
 
24
Translation.m: $(MFILES)
 
25
        @if test x$(NLSTEST) = "x-DNLS"; then \
 
26
                awk -f @srcdir@/../convert.awk codeset=KOI8-U output=Translation.m $(MFILES); \
 
27
        fi
 
28
 
 
29
blackbox.cat: Translation.m
 
30
        @if test x$(NLSTEST) = "x-DNLS"; then \
 
31
                $(gencat_cmd) blackbox.cat Translation.m; \
 
32
        fi
 
33
 
 
34
distclean-local:
 
35
        rm -f *\~ .\#*