aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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