summaryrefslogtreecommitdiff
path: root/nls/C
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-04-04 18:04:19 (GMT)
committerfluxgen <fluxgen>2002-04-04 18:04:19 (GMT)
commit08ae57e646e0b165f59e4988de2ae84ea74713d5 (patch)
tree3bf80767a570f55d570f7cc31b3100a70b171e49 /nls/C
parentef74f26728056d3c0cb2b719f7b0effb7443a5f5 (diff)
downloadfluxbox_lack-08ae57e646e0b165f59e4988de2ae84ea74713d5.zip
fluxbox_lack-08ae57e646e0b165f59e4988de2ae84ea74713d5.tar.bz2
fixed blackbox nls generation
Diffstat (limited to 'nls/C')
-rw-r--r--nls/C/Makefile.am8
1 files changed, 8 insertions, 0 deletions
diff --git a/nls/C/Makefile.am b/nls/C/Makefile.am
index be588ad..2b73745 100644
--- a/nls/C/Makefile.am
+++ b/nls/C/Makefile.am
@@ -36,8 +36,16 @@ uninstall-local:
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 echo -e "//This file is generated from nls/C" > ../blackbox-nls.hh; \
40 echo -e "#ifndef BLACKBOX_NLS_HH" >> ../blackbox-nls.hh; \
41 echo -e "#define BLACKBOX_NLS_HH" >> ../blackbox-nls.hh; \
42 echo -e "namespace FBNLS {" >> ../blackbox-nls.hh; \
43 echo -e "enum {" >> ../blackbox-nls.hh; \
39 awk -f ../convert.awk header=../blackbox-nls.hh \ 44 awk -f ../convert.awk header=../blackbox-nls.hh \
40 output=Translation.m $(MFILES); \ 45 output=Translation.m $(MFILES); \
46 echo -e "}; //end enum\n" >> ../blackbox-nls.hh; \
47 echo -e "}; //end namespace\n" >> ../blackbox-nls.hh; \
48 echo -e "#endif //BLACKBOX_NLS_HH\n" >> ../blackbox-nls.hh; \
41 fi 49 fi
42 50
43blackbox.cat: Translation.m 51blackbox.cat: Translation.m