From 3095004d1343d8da00f8fed2df45add69dc4d04c Mon Sep 17 00:00:00 2001 From: Roland Hieber Date: Thu, 22 Oct 2009 23:22:15 +0200 Subject: [PATCH] Makefile creates Doxyfile by its own --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 75748b9..cb25947 100644 --- a/Makefile +++ b/Makefile @@ -24,6 +24,9 @@ # THE SOFTWARE. # +PACKAGENAME:=iserv-mod-room-reservation +VERSION:=$(shell grep "^$(PACKAGENAME)" debian/changelog | head -1 | sed -e "s/$(PACKAGENAME) (\([0-9.]\+\).*).*/\1/ ") + SHELL=/bin/bash DESTDIR?= 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 @@ -123,6 +128,7 @@ uninstall: # clean up clean: distclean + rm Doxyfile distclean: $(RM) doc/source -- 2.20.1