From 08ae57e646e0b165f59e4988de2ae84ea74713d5 Mon Sep 17 00:00:00 2001 From: fluxgen <fluxgen> Date: Thu, 4 Apr 2002 18:04:19 +0000 Subject: fixed blackbox nls generation --- nls/C/Makefile.am | 8 ++++++++ 1 file changed, 8 insertions(+) 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: Translation.m: $(MFILES) @if test x$(NLSTEST) = "x-DNLS"; then \ + echo -e "//This file is generated from nls/C" > ../blackbox-nls.hh; \ + echo -e "#ifndef BLACKBOX_NLS_HH" >> ../blackbox-nls.hh; \ + echo -e "#define BLACKBOX_NLS_HH" >> ../blackbox-nls.hh; \ + echo -e "namespace FBNLS {" >> ../blackbox-nls.hh; \ + echo -e "enum {" >> ../blackbox-nls.hh; \ awk -f ../convert.awk header=../blackbox-nls.hh \ output=Translation.m $(MFILES); \ + echo -e "}; //end enum\n" >> ../blackbox-nls.hh; \ + echo -e "}; //end namespace\n" >> ../blackbox-nls.hh; \ + echo -e "#endif //BLACKBOX_NLS_HH\n" >> ../blackbox-nls.hh; \ fi blackbox.cat: Translation.m -- cgit v0.11.2