]> git.sur5r.net Git - bacula/docs/blobdiff - docs/Makefile.in
Update news item
[bacula/docs] / docs / Makefile.in
index 0b81dc51121b324b27391e43b607ebebdb97a56b..7a7428acee35c40a4696fb51dbd695e6f881bc94 100644 (file)
@@ -6,6 +6,7 @@
 srcdir =       @srcdir@
 VPATH =        @srcdir@
 .PATH:         @srcdir@
+BACULASRC =    @bacula@
 
 basedir = ..
 topdir = ..
@@ -21,12 +22,25 @@ DIST          = Makefile.in
 #-------------------------------------------------------------------------
 
 all:
+       (cd manual; make)
+       (cd developers; make)
+       (cd bacula-web; make)
 
 
-Makefile: $(srcdir)/Makefile.in $(topdir)/config.status
+configure: autoconf/configure.in autoconf/aclocal.m4 autoconf/acconfig.h autoconf/config.h.in
+       cd $(srcdir);
+       ${RMF} -f config.cache config.log config.out config.status src/config.h
+       autoconf --prepend-include=$(srcdir)/autoconf \
+       autoconf/configure.in > configure
+       chmod 755 configure
+
+Makefile: Makefile.in
        cd $(topdir) \
            && CONFIG_FILES=$(thisdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
 
+Makefiles:
+       $(SHELL) config.status
+
 
 SEDREPLACE = -e 's%@BACULA_VERSION@%$(VERSION)%g;'\
             -e 's%@BACULA_LSMDATE@%$(LSMDATE)%g;'\
@@ -44,14 +58,24 @@ $(basedir)/$(VERNAME).lsm: LSM.in $(srcdir)/../autoconf/Make.common.in $(srcdir)
        $(SED) $(SEDREPLACE) < $(srcdir)/LSM.in > $@
 
 clean:
-       $(RMF) *~ 1 2 3
-       $(RMF) bacula-doc-*
+       $(RMF) *~ 1 2 3 bacula-doc*.tar.gz
+       (cd manual; make clean)
+       (cd manual-de; make clean)
+       (cd manual-fr; make clean)
+       (cd bacula-web; make clean)
 
 realclean: clean
 
 distclean:
        $(RMF) Makefile
        $(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; make distclean)
+       (cd manual-de; make distclean)
+       (cd manual-fr; make distclean)
+       (cd bacula-web; make distclean)
+
 
 devclean:
        $(RMF) Makefile
@@ -63,25 +87,3 @@ install:
 
 uninstall:
 #      -cd $(mandir); $(RMF) $(manprefix)bacula.$(manext)
-
-distribution:
-       rm -rf bacula-doc-*
-       mkdir -p bacula-doc-$(VERSION)
-       cp -ap latex/bacula bacula-doc-$(VERSION)/web-manual
-       mkdir -p bacula-doc-$(VERSION)/html-manual
-       cp -p latex/bacula.html latex/*.png latex/*.css bacula-doc-$(VERSION)/html-manual/
-       cp -p latex/bacula.pdf bacula-doc-$(VERSION)/
-       cp -p latex/developers.pdf bacula-doc-$(VERSION)/
-       cp -p ../kernstodo bacula-doc-$(VERSION)/
-       cp -p ../ReleaseNotes bacula-doc-$(VERSION)/
-       cp -p ../projects bacula-doc-$(VERSION)/
-       tar cvfz bacula-doc-$(VERSION).tar.gz bacula-doc-$(VERSION)
-
-distdirs:
-       mkdir $(basedir)/../$(VERNAME)/$(thisdir)
-
-distcopy: distdepend
-       $(CP) -p $(basedir)/$(VERNAME).lsm $(basedir)/../$(VERNAME);
-       $(CP) -p $(DIST)      $(basedir)/../$(VERNAME)/$(thisdir)
-
-distdepend: alldoc