# Distribution variables
#
-en_dirs = manuals/en/catalog manuals/en/concepts manuals/en/console \
- manuals/en/developers manuals/en/install manuals/en/problems \
- manuals/en/utility
+de_dirs = manuals/de/console manuals/de/developers manuals/de/main \
+ manuals/de/misc manuals/de/problems manuals/de/utility
-fr_dirs = manuals/fr/catalog manuals/fr/concepts manuals/fr/console \
- manuals/fr/developers manuals/fr/install manuals/fr/problems \
- manuals/fr/utility
+en_dirs = manuals/en/console manuals/en/developers manuals/en/main \
+ manuals/en/misc manuals/en/problems manuals/en/utility
+
+es_dirs = manuals/es/console manuals/es/developers manuals/es/main \
+ manuals/es/misc manuals/es/problems manuals/es/utility
+
+fr_dirs = manuals/fr/console manuals/fr/developers manuals/fr/main \
+ manuals/fr/misc manuals/fr/problems manuals/fr/utility
+
+all_dirs = ${de_dirs} ${en_dirs} ${es_dirs} ${fr_dirs}
DIST = Makefile.in
#-------------------------------------------------------------------------
+en: all
+
all:
@for I in ${en_dirs}; \
do (cd $$I; echo "==>Entering directory `pwd`"; \
$(MAKE) $@ || (echo ""; echo ""; echo " ====== Error in `pwd` ======"; \
- echo ""; echo "";)); \
+ echo ""; echo ""; exit 1;)); \
done
- (cd bacula-web; make)
@echo "All manuals built ..."
+bacula-web:
+ (cd bacula-web; make)
+
+fr: french
+
french:
@for I in ${fr_dirs}; \
do (cd $$I; echo "==>Entering directory `pwd`"; \
- $(MAKE) $@ || (echo ""; echo ""; echo " ====== Error in `pwd` ======"; \
- echo ""; echo "";)); \
+ $(MAKE) all || (echo ""; echo ""; echo " ====== Error in `pwd` ======"; \
+ echo ""; echo ""; exit 1;)); \
done
+de: german
+
+german:
+ @for I in ${de_dirs}; \
+ do (cd $$I; echo "==>Entering directory `pwd`"; \
+ $(MAKE) all || (echo ""; echo ""; echo " ====== Error in `pwd` ======"; \
+ echo ""; echo ""; exit 1;)); \
+ done
+
+es: spanish
+
+spanish:
+ @for I in ${es_dirs}; \
+ do (cd $$I; echo "==>Entering directory `pwd`"; \
+ $(MAKE) all || (echo ""; echo ""; echo " ====== Error in `pwd` ======"; \
+ echo ""; echo ""; exit 1;)); \
+ done
+
+
configure: autoconf/configure.in autoconf/aclocal.m4 autoconf/acconfig.h
cd $(srcdir);
${RMF} -f config.cache config.log config.out config.status src/config.h
clean:
$(RMF) *~ 1 2 3 bacula-doc*.tar.gz
- (cd manual-de; make clean)
(cd bacula-web; make clean)
- @for I in ${en_dirs} ${fr_dirs}; \
+ @for I in ${all_dirs}; \
do (cd $$I; echo "==>Entering directory `pwd`"; ${MAKE} $@ || exit 1); done
$(RMF) -r CVS html-manual/CVS home-page/CVS techlogs/CVS
$(RMF) -rf autom4te.cache bacula-doc-* config.log config.out
$(RMF) -f config.status kernsconfig
- (cd manual-de; make distclean)
(cd bacula-web; make distclean)
- @for I in ${en_dirs} ${fr_dirs}; \
+ @for I in ${all_dirs}; \
do (cd $$I; echo "==>Entering directory `pwd`"; ${MAKE} $@ || exit 1); done