diff --git a/doc/Makefile b/doc/Makefile index 7696c642..2a2ef04a 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -11,18 +11,22 @@ FILES += xbps_pkg_files_dictionary.$(FORMAT) FILES += xbps_binary_pkg_content.$(FORMAT) .PHONY: all -all: $(FILES) doxygendocs +all: $(FILES) doxyfiletrans doxygendocs $(FILES): %.$(FORMAT): %.dot dot -T$(FORMAT) $< -o images/$@ -doxygendocs: $(FILES) +doxyfiletrans: $(DOXYF).in + sed -e "s|@@PROJECT_NUMBER@@|$$(date +%Y%m%d)|" $< > $(DOXYF) + +doxygendocs: $(FILES) doxyfiletrans doxygen $(DOXYF) .PHONY: clean clean: -rm -f images/*.$(FORMAT) -rm -rf ../api + -rm -f $(DOXYF) .PHONY: install install: diff --git a/doc/xbps_api_doxyfile b/doc/xbps_api_doxyfile.in similarity index 99% rename from doc/xbps_api_doxyfile rename to doc/xbps_api_doxyfile.in index afd2de6b..2f495653 100644 --- a/doc/xbps_api_doxyfile +++ b/doc/xbps_api_doxyfile.in @@ -5,7 +5,7 @@ #--------------------------------------------------------------------------- DOXYFILE_ENCODING = UTF-8 PROJECT_NAME = "XBPS Library API" -PROJECT_NUMBER = 20110126 +PROJECT_NUMBER = @@PROJECT_NUMBER@@ PROJECT_BRIEF = "The X Binary Package System" PROJECT_LOGO = xbps-logo.png OUTPUT_DIRECTORY = ../api @@ -133,7 +133,7 @@ STRIP_CODE_COMMENTS = NO REFERENCED_BY_RELATION = YES REFERENCES_RELATION = YES REFERENCES_LINK_SOURCE = YES -USE_HTAGS = YES +USE_HTAGS = NO VERBATIM_HEADERS = NO #--------------------------------------------------------------------------- # configuration options related to the alphabetical class index