aboutsummaryrefslogtreecommitdiff
path: root/nls/C
diff options
context:
space:
mode:
Diffstat (limited to 'nls/C')
-rw-r--r--nls/C/Makefile.am38
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
3NLSTEST = @NLS@ 3NLSTEST = @NLS@
4CLEANFILES = blackbox.cat 4CLEANFILES = fluxbox.cat
5MAINTAINERCLEANFILES = Makefile.in Translation.m 5MAINTAINERCLEANFILES = Makefile.in Translation.m
6MFILES = 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 6MFILES = 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
7EXTRA_DIST= $(MFILES) 7EXTRA_DIST= $(MFILES)
8all-local: blackbox.cat 8all-local: fluxbox.cat
9install-data-local: blackbox.cat 9install-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
23uninstall-local: 23uninstall-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
37Translation.m: $(MFILES) 37Translation.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
53blackbox.cat: Translation.m 53fluxbox.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