aboutsummaryrefslogtreecommitdiff
path: root/nls/C
diff options
context:
space:
mode:
Diffstat (limited to 'nls/C')
-rw-r--r--nls/C/Makefile.am15
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
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