diff options
author | fluxgen <fluxgen> | 2002-04-04 18:04:19 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-04-04 18:04:19 (GMT) |
commit | 08ae57e646e0b165f59e4988de2ae84ea74713d5 (patch) | |
tree | 3bf80767a570f55d570f7cc31b3100a70b171e49 | |
parent | ef74f26728056d3c0cb2b719f7b0effb7443a5f5 (diff) | |
download | fluxbox-08ae57e646e0b165f59e4988de2ae84ea74713d5.zip fluxbox-08ae57e646e0b165f59e4988de2ae84ea74713d5.tar.bz2 |
fixed blackbox nls generation
-rw-r--r-- | nls/C/Makefile.am | 8 |
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 | ||
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 | 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 | ||
43 | blackbox.cat: Translation.m | 51 | blackbox.cat: Translation.m |