aboutsummaryrefslogtreecommitdiff
path: root/nls/C/Makefile.am
diff options
context:
space:
mode:
authorrathnor <rathnor>2004-06-20 14:06:37 (GMT)
committerrathnor <rathnor>2004-06-20 14:06:37 (GMT)
commit5008d65247d4a07a242ce8569b5e74327597111e (patch)
tree5f8097b42f8d8ec50861c06bcd78491b20c44af4 /nls/C/Makefile.am
parentc144177c5c43ce35cf8c7b0e888a597d6292b39a (diff)
downloadfluxbox-5008d65247d4a07a242ce8569b5e74327597111e.zip
fluxbox-5008d65247d4a07a242ce8569b5e74327597111e.tar.bz2
whoops, wasn't quite right :-/
Diffstat (limited to 'nls/C/Makefile.am')
-rw-r--r--nls/C/Makefile.am46
1 files changed, 11 insertions, 35 deletions
diff --git a/nls/C/Makefile.am b/nls/C/Makefile.am
index dcf917e..9f7f16f 100644
--- a/nls/C/Makefile.am
+++ b/nls/C/Makefile.am
@@ -1,46 +1,22 @@
1# nls/C/Makefile.am for Fluxbox - an X11 Window Manager 1# nls/C/Makefile.am for Fluxbox - www.fluxbox.org
2 2
3THE_LANG = C 3THE_LANG = C
4# no CODESET
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 rm -f $(DESTDIR)$(pkgdatadir)/nls/US_ASCII; \
18 ln -fs C $(DESTDIR)$(pkgdatadir)/nls/US_ASCII; \
19 rm -f $(DESTDIR)$(pkgdatadir)/nls/POSIX; \
20 ln -fs C $(DESTDIR)$(pkgdatadir)/nls/POSIX; \
21 rm -f $(DESTDIR)$(pkgdatadir)/nls/en_US; \
22 ln -fs C $(DESTDIR)$(pkgdatadir)/nls/en_US; \
23 rm -f $(DESTDIR)$(pkgdatadir)/nls/en; \
24 ln -fs C $(DESTDIR)$(pkgdatadir)/nls/en; \
25 fi
26uninstall-local:
27 @if test x$(NLSTEST) = "x-DNLS"; then \
28 rm -f $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG)/fluxbox.cat; \
29 rm -f $(DESTDIR)$(pkgdatadir)/nls/US_ASCII; \
30 rm -f $(DESTDIR)$(pkgdatadir)/nls/POSIX; \
31 rm -f $(DESTDIR)$(pkgdatadir)/nls/en_US; \
32 rm -f $(DESTDIR)$(pkgdatadir)/nls/en; \
33 rmdir $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
34 fi
35 16
36Translation.m: $(MFILES) 17uninstall-local:
37 @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
38 rm -f Translation.m; \
39 awk -f ../convert.awk \
40 output=Translation.m $(MFILES); \
41 fi
42 19
43fluxbox.cat: Translation.m 20fluxbox.cat: Translation.m
44 @if test x$(NLSTEST) = "x-DNLS"; then \ 21 @if test x$(NLSTEST) = "x-DNLS"; then $(gencat_cmd) fluxbox.cat Translation.m; fi
45 $(gencat_cmd) fluxbox.cat Translation.m; \ 22
46 fi