diff options
author | fluxgen <fluxgen> | 2002-12-09 23:41:54 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-12-09 23:41:54 (GMT) |
commit | 3218a4ce0d821f848f03bd4675dea5fb159c030c (patch) | |
tree | 9c2c0b6fbf5d18b2476c4d250f3fb9091397bac0 /nls/C/Makefile.am | |
parent | 0534ebf0378655e8bf57ec32d0d927d1ccef7d8d (diff) | |
download | fluxbox-3218a4ce0d821f848f03bd4675dea5fb159c030c.zip fluxbox-3218a4ce0d821f848f03bd4675dea5fb159c030c.tar.bz2 |
blackbox.cat to fluxbox.cat
Diffstat (limited to 'nls/C/Makefile.am')
-rw-r--r-- | nls/C/Makefile.am | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/nls/C/Makefile.am b/nls/C/Makefile.am index d17897a..7ed9025 100644 --- a/nls/C/Makefile.am +++ b/nls/C/Makefile.am | |||
@@ -1,16 +1,16 @@ | |||
1 | # nls/C/Makefile.am for Blackbox-0.61.x - an X11 Window Manager | 1 | # nls/C/Makefile.am for Blackbox-0.61.x - an X11 Window Manager |
2 | 2 | ||
3 | NLSTEST = @NLS@ | 3 | NLSTEST = @NLS@ |
4 | CLEANFILES = blackbox.cat | 4 | CLEANFILES = fluxbox.cat |
5 | MAINTAINERCLEANFILES = Makefile.in Translation.m | 5 | MAINTAINERCLEANFILES = Makefile.in Translation.m |
6 | 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 blackbox.m common.m main.m bsetroot.m | 6 | 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 |
7 | EXTRA_DIST= $(MFILES) | 7 | EXTRA_DIST= $(MFILES) |
8 | all-local: blackbox.cat | 8 | all-local: fluxbox.cat |
9 | install-data-local: blackbox.cat | 9 | install-data-local: fluxbox.cat |
10 | @if test x$(NLSTEST) = "x-DNLS"; then \ | 10 | @if test x$(NLSTEST) = "x-DNLS"; then \ |
11 | echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/C"; \ | 11 | echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/C"; \ |
12 | $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/C; \ | 12 | $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/C; \ |
13 | $(INSTALL_DATA) blackbox.cat $(DESTDIR)$(pkgdatadir)/nls/C; \ | 13 | $(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(pkgdatadir)/nls/C; \ |
14 | rm -f $(DESTDIR)$(pkgdatadir)/nls/US_ASCII; \ | 14 | rm -f $(DESTDIR)$(pkgdatadir)/nls/US_ASCII; \ |
15 | ln -fs C $(DESTDIR)$(pkgdatadir)/nls/US_ASCII; \ | 15 | ln -fs C $(DESTDIR)$(pkgdatadir)/nls/US_ASCII; \ |
16 | rm -f $(DESTDIR)$(pkgdatadir)/nls/POSIX; \ | 16 | rm -f $(DESTDIR)$(pkgdatadir)/nls/POSIX; \ |
@@ -22,7 +22,7 @@ install-data-local: blackbox.cat | |||
22 | fi | 22 | fi |
23 | uninstall-local: | 23 | uninstall-local: |
24 | @if test x$(NLSTEST) = "x-DNLS"; then \ | 24 | @if test x$(NLSTEST) = "x-DNLS"; then \ |
25 | rm -f $(DESTDIR)$(pkgdatadir)/nls/C/blackbox.cat; \ | 25 | rm -f $(DESTDIR)$(pkgdatadir)/nls/C/fluxbox.cat; \ |
26 | rm -f $(DESTDIR)$(pkgdatadir)/nls/US_ASCII; \ | 26 | rm -f $(DESTDIR)$(pkgdatadir)/nls/US_ASCII; \ |
27 | rm -f $(DESTDIR)$(pkgdatadir)/nls/POSIX; \ | 27 | rm -f $(DESTDIR)$(pkgdatadir)/nls/POSIX; \ |
28 | rm -f $(DESTDIR)$(pkgdatadir)/nls/en_US; \ | 28 | rm -f $(DESTDIR)$(pkgdatadir)/nls/en_US; \ |
@@ -31,26 +31,26 @@ uninstall-local: | |||
31 | fi | 31 | fi |
32 | 32 | ||
33 | # note... when adding new catalogs... you do not need the | 33 | # note... when adding new catalogs... you do not need the |
34 | # header=../blackbox-nls.hh which is passed to awk... we | 34 | # header=../fluxbox-nls.hh which is passed to awk... we |
35 | # only need to generate it once. | 35 | # only need to generate it once. |
36 | 36 | ||
37 | Translation.m: $(MFILES) | 37 | Translation.m: $(MFILES) |
38 | @if test x$(NLSTEST) = "x-DNLS"; then \ | 38 | @if test x$(NLSTEST) = "x-DNLS"; then \ |
39 | rm -f Translation.m; \ | 39 | rm -f Translation.m; \ |
40 | echo "//This file is generated from nls/C" > ../blackbox-nls.hh; \ | 40 | echo "//This file is generated from nls/C" > ../fluxbox-nls.hh; \ |
41 | echo "#ifndef BLACKBOX_NLS_HH" >> ../blackbox-nls.hh; \ | 41 | echo "#ifndef BLACKBOX_NLS_HH" >> ../fluxbox-nls.hh; \ |
42 | echo "#define BLACKBOX_NLS_HH" >> ../blackbox-nls.hh; \ | 42 | echo "#define BLACKBOX_NLS_HH" >> ../fluxbox-nls.hh; \ |
43 | echo "namespace FBNLS {" >> ../blackbox-nls.hh; \ | 43 | echo "namespace FBNLS {" >> ../fluxbox-nls.hh; \ |
44 | echo "enum {" >> ../blackbox-nls.hh; \ | 44 | echo "enum {" >> ../fluxbox-nls.hh; \ |
45 | awk -f ../convert.awk header=../blackbox-nls.hh \ | 45 | awk -f ../convert.awk header=../fluxbox-nls.hh \ |
46 | output=Translation.m $(MFILES); \ | 46 | output=Translation.m $(MFILES); \ |
47 | echo " dummy_not_used = 0 //just for the ending" >> ../blackbox-nls.hh; \ | 47 | echo " dummy_not_used = 0 //just for the ending" >> ../fluxbox-nls.hh; \ |
48 | echo "}; //end enum" >> ../blackbox-nls.hh; \ | 48 | echo "}; //end enum" >> ../fluxbox-nls.hh; \ |
49 | echo "}; //end namespace" >> ../blackbox-nls.hh; \ | 49 | echo "}; //end namespace" >> ../fluxbox-nls.hh; \ |
50 | echo "#endif //BLACKBOX_NLS_HH" >> ../blackbox-nls.hh; \ | 50 | echo "#endif //BLACKBOX_NLS_HH" >> ../fluxbox-nls.hh; \ |
51 | fi | 51 | fi |
52 | 52 | ||
53 | blackbox.cat: Translation.m | 53 | fluxbox.cat: Translation.m |
54 | @if test x$(NLSTEST) = "x-DNLS"; then \ | 54 | @if test x$(NLSTEST) = "x-DNLS"; then \ |
55 | $(gencat_cmd) blackbox.cat Translation.m; \ | 55 | $(gencat_cmd) fluxbox.cat Translation.m; \ |
56 | fi | 56 | fi |