aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrathnor <rathnor>2004-06-08 13:47:24 (GMT)
committerrathnor <rathnor>2004-06-08 13:47:24 (GMT)
commit7b2ca0d88b1bbec45a70f9baa4cf6eb906712cf4 (patch)
tree4606eb050c0fef8e92b350f6c8cb041883542d40
parentf6c3c8c8f423fe5231671fa9205ad11cad723325 (diff)
downloadfluxbox_paul-7b2ca0d88b1bbec45a70f9baa4cf6eb906712cf4.zip
fluxbox_paul-7b2ca0d88b1bbec45a70f9baa4cf6eb906712cf4.tar.bz2
more fixing of nls deps
-rw-r--r--nls/.cvsignore1
-rw-r--r--nls/C/Makefile.am15
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 @@
1Makefile 1Makefile
2Makefile.in 2Makefile.in
3fluxbox-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:
33 rmdir $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \ 33 rmdir $(DESTDIR)$(pkgdatadir)/nls/$(THE_LANG); \
34 fi 34 fi
35 35
36# note... when adding new catalogs... you do not need the
37# header=../fluxbox-nls.hh which is passed to awk... we
38# only need to generate it once.
39
40Translation.m: $(MFILES) 36Translation.m: $(MFILES)
41 @if test x$(NLSTEST) = "x-DNLS"; then \ 37 @if test x$(NLSTEST) = "x-DNLS"; then \
42 rm -f Translation.m; \ 38 rm -f Translation.m; \
43 echo "//This file is generated from nls/C" > ../fluxbox-nls.hh; \ 39 awk -f ../convert.awk \
44 echo "#ifndef BLACKBOX_NLS_HH" >> ../fluxbox-nls.hh; \
45 echo "#define BLACKBOX_NLS_HH" >> ../fluxbox-nls.hh; \
46 echo "namespace FBNLS {" >> ../fluxbox-nls.hh; \
47 echo "enum {" >> ../fluxbox-nls.hh; \
48 awk -f ../convert.awk header=../fluxbox-nls.hh \
49 output=Translation.m $(MFILES); \ 40 output=Translation.m $(MFILES); \
50 echo " dummy_not_used = 0 //just for the ending" >> ../fluxbox-nls.hh; \
51 echo "}; //end enum" >> ../fluxbox-nls.hh; \
52 echo "}; //end namespace" >> ../fluxbox-nls.hh; \
53 echo "#endif //BLACKBOX_NLS_HH" >> ../fluxbox-nls.hh; \
54 fi 41 fi
55 42
56fluxbox.cat: Translation.m 43fluxbox.cat: Translation.m