16 # Distribution variables
19 de_dirs = manuals/de/catalog manuals/de/concepts manuals/de/console \
20 manuals/de/developers manuals/de/install manuals/de/problems \
24 en_dirs = manuals/en/catalog manuals/en/concepts manuals/en/console \
25 manuals/en/developers manuals/en/install manuals/en/problems \
28 es_dirs = manuals/es/catalog manuals/es/concepts manuals/es/console \
29 manuals/es/developers manuals/es/install manuals/es/problems \
32 fr_dirs = manuals/fr/catalog manuals/fr/concepts manuals/fr/console \
33 manuals/fr/developers manuals/fr/install manuals/fr/problems \
36 all_dirs = ${de_dirs} ${en_dirs} ${es_dirs} ${fr_dirs}
40 #-------------------------------------------------------------------------
43 @for I in ${en_dirs}; \
44 do (cd $$I; echo "==>Entering directory `pwd`"; \
45 $(MAKE) $@ || (echo ""; echo ""; echo " ====== Error in `pwd` ======"; \
46 echo ""; echo "";)); \
48 @echo "All manuals built ..."
56 @for I in ${fr_dirs}; \
57 do (cd $$I; echo "==>Entering directory `pwd`"; \
58 $(MAKE) all || (echo ""; echo ""; echo " ====== Error in `pwd` ======"; \
59 echo ""; echo "";)); \
65 @for I in ${de_dirs}; \
66 do (cd $$I; echo "==>Entering directory `pwd`"; \
67 $(MAKE) all || (echo ""; echo ""; echo " ====== Error in `pwd` ======"; \
68 echo ""; echo "";)); \
74 @for I in ${es_dirs}; \
75 do (cd $$I; echo "==>Entering directory `pwd`"; \
76 $(MAKE) all || (echo ""; echo ""; echo " ====== Error in `pwd` ======"; \
77 echo ""; echo "";)); \
81 configure: autoconf/configure.in autoconf/aclocal.m4 autoconf/acconfig.h
83 ${RMF} -f config.cache config.log config.out config.status src/config.h
84 autoconf --prepend-include=$(srcdir)/autoconf \
85 autoconf/configure.in > configure
90 && CONFIG_FILES=$(thisdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
93 $(SHELL) config.status
96 SEDREPLACE = -e 's%@BACULA_VERSION@%$(VERSION)%g;'\
97 -e 's%@BACULA_LSMDATE@%$(LSMDATE)%g;'\
98 -e 's%@BACULA_DATE@%$(DATE)%g;'\
99 -e 's%@BACULA_MAINTEMAIL@%$(MAINTEMAIL)%g;'\
100 -e 's%@BACULA_MAINT@%$(MAINT)%g;'\
101 -e 's%@BACULA_WEBPAGE@%$(WEBPAGE)%g;'\
102 -e 's%@BACULA_WEBMAINTEMAIL@%$(WEBMAINTEMAIL)%g;'\
103 -e 's%@BACULA_WEBMAINT@%$(WEBMAINT)%g;'\
104 -e 's%@BACULA_FTPSITENAME@%$(FTPSITENAME)%g;'\
105 -e 's%@BACULA_FTPSITEDIR@%$(FTPSITEDIR)%g;'
108 $(basedir)/$(VERNAME).lsm: LSM.in $(srcdir)/../autoconf/Make.common.in $(srcdir)/../src/version.h
109 $(SED) $(SEDREPLACE) < $(srcdir)/LSM.in > $@
112 $(RMF) *~ 1 2 3 bacula-doc*.tar.gz
113 (cd bacula-web; make clean)
114 @for I in ${all_dirs}; \
115 do (cd $$I; echo "==>Entering directory `pwd`"; ${MAKE} $@ || exit 1); done
122 $(RMF) -r CVS html-manual/CVS home-page/CVS techlogs/CVS
123 $(RMF) -rf autom4te.cache bacula-doc-* config.log config.out
124 $(RMF) -f config.status kernsconfig
125 (cd bacula-web; make distclean)
126 @for I in ${all_dirs}; \
127 do (cd $$I; echo "==>Entering directory `pwd`"; ${MAKE} $@ || exit 1); done
136 # $(INSTALL_DATA) bacula.1 $(DESTDIR)$(mandir)/$(manprefix)bacula.$(manext)
139 # -cd $(mandir); $(RMF) $(manprefix)bacula.$(manext)