From 7b2ca0d88b1bbec45a70f9baa4cf6eb906712cf4 Mon Sep 17 00:00:00 2001 From: rathnor Date: Tue, 8 Jun 2004 13:47:24 +0000 Subject: more fixing of nls deps --- nls/.cvsignore | 1 + nls/C/Makefile.am | 15 +-------------- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/nls/.cvsignore b/nls/.cvsignore index 282522d..67557dc 100644 --- a/nls/.cvsignore +++ b/nls/.cvsignore @@ -1,2 +1,3 @@ Makefile Makefile.in +fluxbox-nls.hh diff --git a/nls/C/Makefile.am b/nls/C/Makefile.am index 2f429ad..dcf917e 100644 --- a/nls/C/Makefile.am +++ b/nls/C/Makefile.am @@ -33,24 +33,11 @@ uninstall-local: rmdir $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \ fi -# note... when adding new catalogs... you do not need the -# header=../fluxbox-nls.hh which is passed to awk... we -# only need to generate it once. - Translation.m: $(MFILES) @if test x$(NLSTEST) = "x-DNLS"; then \ rm -f Translation.m; \ - echo "//This file is generated from nls/C" > ../fluxbox-nls.hh; \ - echo "#ifndef BLACKBOX_NLS_HH" >> ../fluxbox-nls.hh; \ - echo "#define BLACKBOX_NLS_HH" >> ../fluxbox-nls.hh; \ - echo "namespace FBNLS {" >> ../fluxbox-nls.hh; \ - echo "enum {" >> ../fluxbox-nls.hh; \ - awk -f ../convert.awk header=../fluxbox-nls.hh \ + awk -f ../convert.awk \ output=Translation.m $(MFILES); \ - echo " dummy_not_used = 0 //just for the ending" >> ../fluxbox-nls.hh; \ - echo "}; //end enum" >> ../fluxbox-nls.hh; \ - echo "}; //end namespace" >> ../fluxbox-nls.hh; \ - echo "#endif //BLACKBOX_NLS_HH" >> ../fluxbox-nls.hh; \ fi fluxbox.cat: Translation.m -- cgit v0.11.2