]> git.sur5r.net Git - bacula/docs/blobdiff - docs/manuals/en/utility/Makefile
Simply version to be distributed in the package or updated with update_version
[bacula/docs] / docs / manuals / en / utility / Makefile
index 755a699115c78f4ec5ee740520646879423c0439..bb068ef52ffc0974577c9ff2452ccbb2e32630ab 100644 (file)
@@ -35,7 +35,7 @@
 #
 DOC=utility
 MAINDOC=Bacula_Utility_Programs.html
-IMAGES=/home/kern/bacula/docs/docs/images
+IMAGES=../../../images
 DOCDIR=`pwd`
 TEXFILES=$(wildcard *tex)
 MAKEFORWEB=$(DOCDIR)/web.makefile
@@ -65,15 +65,48 @@ all: pdftex web mini-clean
 .DONTCARE:
 
 
-updateversion:
-       @/bin/bash ../../update_version
-
 destdir:
        @echo
        @echo "Making output directories..."
        @mkdir -p $(PDF_DEST_DIR) $(HTML_DEST_DIR)
        echo "Output directories done"
 
+pdfcovers:
+       @echo -n "Linking coverpage and background PDF format..."
+       @(cd $(SVGCOVERSDIR) ; make pdf)
+       @ln -sf `pwd`/${PDFCOVERSDIR}/${COVERNAME}.pdf `pwd`/${BSYSMANUALDIR}/${BSYSMANNAME}.pdf
+       @echo "Done."
+
+pdfimages: 
+       @echo "Generating PDF images..."
+       @(cd ${IMAGES}/svg ; make pdf)
+       @echo "Done."
+
+pngimages:
+       @echo "Generating PNG images..."
+       @(cd ${IMAGES}/svg ; make png)
+       @echo "Done."
+
+epsimages:
+       @echo "Generating EPS images..."
+       @(cd ${IMAGES}/svg ; make eps)
+       @rm -rf ${IMAGES}/png
+       @rm -rf ${IMAGES}/pdf
+       @echo "Done."
+
+epscovers:
+       @echo -n "Linking coverpage and background EPS format..."
+       @(cd $(SVGCOVERSDIR) ; make eps)
+       @ln -sf `pwd`/${EPSCOVERSDIR}/${COVERNAME}.eps `pwd`/${BSYSMANUALDIR}/${BSYSMANNAME}.eps
+       @rm -f `pwd`/${BSYSMANUALDIR}/${BSYSMANNAME}.pdf
+       @echo "Done."
+
+commonfiles:
+       @echo -n "Making version `cat version.tex`"
+       @echo -n "Linking shared files..."
+       @(for L in $(LICENCES); do ln -sf $$L .; done)
+       @echo "Done"
+
 pdfcovers:
        @echo ""
        @echo "Making covers for $(DOC)"
@@ -114,7 +147,6 @@ web: mini-clean
        (cd $(WWW_BUILD_DIR) ; make )
        @echo "Done making web"
 
-
 show:
        evince $(PDF_DEST_DIR)/${DOC}.pdf