X-Git-Url: https://git.rohieb.name/iserv-mod-error-reporter.git/blobdiff_plain/176ad325b77cecbaeb37af794752ff8936d3f77b..ec86669c623ddc9438156b2e2718de1c68e4e60c:/Makefile?ds=sidebyside diff --git a/Makefile b/Makefile index 2cc3765..a555f54 100644 --- a/Makefile +++ b/Makefile @@ -26,6 +26,9 @@ # 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 @@ -86,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