all repos — fluxbox @ 08ae57e646e0b165f59e4988de2ae84ea74713d5

custom fork of the fluxbox windowmanager

fixed blackbox nls generation
fluxgen fluxgen
commit

08ae57e646e0b165f59e4988de2ae84ea74713d5

parent

ef74f26728056d3c0cb2b719f7b0effb7443a5f5

1 files changed, 8 insertions(+), 0 deletions(-)

jump to
M nls/C/Makefile.amnls/C/Makefile.am

@@ -36,8 +36,16 @@ # only need to generate it once.

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