Transform PROJECT_NUMBER in the doxyfile.

--HG--
rename : doc/xbps_api_doxyfile => doc/xbps_api_doxyfile.in
This commit is contained in:
Juan RP 2011-02-05 12:34:45 +01:00
parent b66b72cc63
commit b70eb0f4c5
2 changed files with 8 additions and 4 deletions

View File

@ -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:

View File

@ -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