more paragraphs in package description, otherwise text flows around the pictures
[iserv-mod-error-reporter.git] / Makefile
index 3e1bf35..acf4270 100644 (file)
--- a/Makefile
+++ b/Makefile
 # THE SOFTWARE.
 #
 
+PACKAGENAME=iserv-mod-error-reporter
+VERSION:=$(shell grep "^$(PACKAGENAME)" debian/changelog | head -1 | sed -e "s/$(PACKAGENAME) (\([0-9.]\+\).*).*/\1/ ")
+
+SHELL=/bin/bash
 INSTALLDIR=/opt/iserv
 LN=ln -f
 RM=rm -rf
@@ -85,6 +89,8 @@ endif
 
 # build doxygen documentation from source
 sourcedoc:
+       cat Doxyfile.in | sed -e "s/{{{VERSION}}}/$(VERSION)/" \
+               -e "s/{{{PACKAGENAME}}}/$(PACKAGENAME)/" > Doxyfile
        doxygen
        mv doc/source/html/* doc/source/ && rm -rf doc/source/html
 
@@ -122,6 +128,7 @@ endif
 
 # clean up
 clean: distclean
+       if [ -e Doxyfile ]; then rm Doxyfile; fi;
 
 distclean:
        $(RM) doc/source
This page took 0.023143 seconds and 4 git commands to generate.