diff options
author | rathnor <rathnor> | 2004-06-08 13:47:24 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2004-06-08 13:47:24 (GMT) |
commit | 7b2ca0d88b1bbec45a70f9baa4cf6eb906712cf4 (patch) | |
tree | 4606eb050c0fef8e92b350f6c8cb041883542d40 /nls/C/Makefile.am | |
parent | f6c3c8c8f423fe5231671fa9205ad11cad723325 (diff) | |
download | fluxbox-7b2ca0d88b1bbec45a70f9baa4cf6eb906712cf4.zip fluxbox-7b2ca0d88b1bbec45a70f9baa4cf6eb906712cf4.tar.bz2 |
more fixing of nls deps
Diffstat (limited to 'nls/C/Makefile.am')
-rw-r--r-- | nls/C/Makefile.am | 15 |
1 files changed, 1 insertions, 14 deletions
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 | |||
40 | Translation.m: $(MFILES) | 36 | Translation.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 | ||
56 | fluxbox.cat: Translation.m | 43 | fluxbox.cat: Translation.m |