diff options
author | rathnor <rathnor> | 2004-06-20 14:06:37 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2004-06-20 14:06:37 (GMT) |
commit | 5008d65247d4a07a242ce8569b5e74327597111e (patch) | |
tree | 5f8097b42f8d8ec50861c06bcd78491b20c44af4 /nls/C/Makefile.am | |
parent | c144177c5c43ce35cf8c7b0e888a597d6292b39a (diff) | |
download | fluxbox-5008d65247d4a07a242ce8569b5e74327597111e.zip fluxbox-5008d65247d4a07a242ce8569b5e74327597111e.tar.bz2 |
whoops, wasn't quite right :-/
Diffstat (limited to 'nls/C/Makefile.am')
-rw-r--r-- | nls/C/Makefile.am | 46 |
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 | ||
3 | THE_LANG = C | 3 | THE_LANG = C |
4 | # no CODESET | ||
5 | 4 | ||
6 | NLSTEST = @NLS@ | 5 | NLSTEST = @NLS@ |
7 | CLEANFILES = fluxbox.cat | 6 | CLEANFILES = fluxbox.cat |
8 | MAINTAINERCLEANFILES = Makefile.in Translation.m | 7 | MAINTAINERCLEANFILES = Makefile.in |
9 | MFILES = 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 | 8 | MFILES = Translation.m |
10 | EXTRA_DIST= $(MFILES) | 9 | EXTRA_DIST= $(MFILES) |
10 | |||
11 | all-local: fluxbox.cat | 11 | all-local: fluxbox.cat |
12 | install-data-local: fluxbox.cat | 12 | install-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)"; \ | 14 | NG)"; $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); $(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(pkgdatadir)/nls/$(THE_LA |
15 | $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \ | 15 | NG); 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 | ||
26 | uninstall-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 | ||
36 | Translation.m: $(MFILES) | 17 | uninstall-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 | ||
43 | fluxbox.cat: Translation.m | 20 | fluxbox.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 | ||