# -*- makefile -*- # # A fragment used by CMT to build the doxygen documentation. # ${CONSTITUENT}stamp = $(bin)${CONSTITUENT}.stamp ${CONSTITUENT} :: $(PACKAGE_ROOT)/doc/dox/index.html @echo "------> Updated Documentation " $(PACKAGE_ROOT)/doc/dox/index.html :: $(${CONSTITUENT}stamp) $(shell comet-find-tagfiles $(package) $(version) | sed s/=.*//) cat $(ICEDUSTPOLICYROOT)/doc/dox/src/footer.html.frag1 \ | sed -e 's/PACKAGE/$(package)/g' -e 's/VERSION/$(version)/g' \ > ../doc/dox/src/footer.html; cmt show manager | sed -e s/\/\/g >> ../doc/dox/src/footer.html; cat $(ICEDUSTPOLICYROOT)/doc/dox/src/footer.html.frag2 >> ../doc/dox/src/footer.html; if [ -e ../Doxyfile ]; then \ cat ../Doxyfile *.Doxyfile | \ env FRAGMENT_PROJECT=$(package) \ FRAGMENT_VERSION=$(version) \ FRAGMENT_OUTPUT=../doc/dox \ FRAGMENT_TAGFILE=../doc/dox/$(package)_$(version).tag \ FRAGMENT_TAGS="$(shell comet-find-tagfiles $(package) $(version))" \ doxygen - ; \ else \ cat $(ICEDUSTPOLICYROOT)/scripts/Doxyfile *.Doxyfile | \ env FRAGMENT_PROJECT=$(package) \ FRAGMENT_VERSION=$(version) \ FRAGMENT_OUTPUT=../doc/dox \ FRAGMENT_TAGFILE=../doc/dox/$(package)_$(version).tag \ FRAGMENT_TAGS="$(shell comet-find-tagfiles $(package) $(version))" \ doxygen - ; \ fi; \ rm -f ../doc/dox/src/footer.html doxygenclean:: /bin/mv $(PACKAGE_ROOT)/doc/dox/src $(PACKAGE_ROOT)/doc/dox/.src /bin/rm -rf $(PACKAGE_ROOT)/doc/dox/* /bin/mv $(PACKAGE_ROOT)/doc/dox/.src $(PACKAGE_ROOT)/doc/dox/src