16 # Distribution variables
19 de_dirs = manuals/de/console manuals/de/developers manuals/de/main \
20 manuals/de/misc manuals/de/problems manuals/de/utility
23 en_dirs = manuals/en/console manuals/en/developers manuals/en/main \
24 manuals/en/misc manuals/en/problems manuals/en/utility
26 es_dirs = manuals/es/console manuals/es/developers manuals/es/main \
27 manuals/es/misc manuals/es/problems manuals/es/utility
29 fr_dirs = manuals/fr/console manuals/fr/developers manuals/fr/main \
30 manuals/fr/misc manuals/fr/problems manuals/fr/utility
32 all_dirs = ${de_dirs} ${en_dirs} ${es_dirs} ${fr_dirs}
36 #-------------------------------------------------------------------------
41 @for I in ${en_dirs}; \
42 do (cd $$I; echo "==>Entering directory `pwd`"; \
43 $(MAKE) $@ || (echo ""; echo ""; echo " ====== Error in `pwd` ======"; \
44 echo ""; echo ""; exit 1;)); \
46 @echo "All manuals built ..."
54 @for I in ${fr_dirs}; \
55 do (cd $$I; echo "==>Entering directory `pwd`"; \
56 $(MAKE) all || (echo ""; echo ""; echo " ====== Error in `pwd` ======"; \
57 echo ""; echo ""; exit 1;)); \
63 @for I in ${de_dirs}; \
64 do (cd $$I; echo "==>Entering directory `pwd`"; \
65 $(MAKE) all || (echo ""; echo ""; echo " ====== Error in `pwd` ======"; \
66 echo ""; echo ""; exit 1;)); \
72 @for I in ${es_dirs}; \
73 do (cd $$I; echo "==>Entering directory `pwd`"; \
74 $(MAKE) all || (echo ""; echo ""; echo " ====== Error in `pwd` ======"; \
75 echo ""; echo ""; exit 1;)); \
79 configure: autoconf/configure.in autoconf/aclocal.m4 autoconf/acconfig.h
81 ${RMF} -f config.cache config.log config.out config.status src/config.h
82 autoconf --prepend-include=$(srcdir)/autoconf \
83 autoconf/configure.in > configure
88 && CONFIG_FILES=$(thisdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
91 $(SHELL) config.status
94 SEDREPLACE = -e 's%@BACULA_VERSION@%$(VERSION)%g;'\
95 -e 's%@BACULA_LSMDATE@%$(LSMDATE)%g;'\
96 -e 's%@BACULA_DATE@%$(DATE)%g;'\
97 -e 's%@BACULA_MAINTEMAIL@%$(MAINTEMAIL)%g;'\
98 -e 's%@BACULA_MAINT@%$(MAINT)%g;'\
99 -e 's%@BACULA_WEBPAGE@%$(WEBPAGE)%g;'\
100 -e 's%@BACULA_WEBMAINTEMAIL@%$(WEBMAINTEMAIL)%g;'\
101 -e 's%@BACULA_WEBMAINT@%$(WEBMAINT)%g;'\
102 -e 's%@BACULA_FTPSITENAME@%$(FTPSITENAME)%g;'\
103 -e 's%@BACULA_FTPSITEDIR@%$(FTPSITEDIR)%g;'
106 $(basedir)/$(VERNAME).lsm: LSM.in $(srcdir)/../autoconf/Make.common.in $(srcdir)/../src/version.h
107 $(SED) $(SEDREPLACE) < $(srcdir)/LSM.in > $@
110 $(RMF) *~ 1 2 3 bacula-doc*.tar.gz
111 (cd bacula-web; make clean)
112 @for I in ${all_dirs}; \
113 do (cd $$I; echo "==>Entering directory `pwd`"; ${MAKE} $@ || exit 1); done
120 $(RMF) -r CVS html-manual/CVS home-page/CVS techlogs/CVS
121 $(RMF) -rf autom4te.cache bacula-doc-* config.log config.out
122 $(RMF) -f config.status kernsconfig
123 (cd bacula-web; make distclean)
124 @for I in ${all_dirs}; \
125 do (cd $$I; echo "==>Entering directory `pwd`"; ${MAKE} $@ || exit 1); done
134 # $(INSTALL_DATA) bacula.1 $(DESTDIR)$(mandir)/$(manprefix)bacula.$(manext)
137 # -cd $(mandir); $(RMF) $(manprefix)bacula.$(manext)