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) FILES += xbps_binary_pkg_content.$(FORMAT)
.PHONY: all .PHONY: all
all: $(FILES) doxygendocs all: $(FILES) doxyfiletrans doxygendocs
$(FILES): %.$(FORMAT): %.dot $(FILES): %.$(FORMAT): %.dot
dot -T$(FORMAT) $< -o images/$@ 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) doxygen $(DOXYF)
.PHONY: clean .PHONY: clean
clean: clean:
-rm -f images/*.$(FORMAT) -rm -f images/*.$(FORMAT)
-rm -rf ../api -rm -rf ../api
-rm -f $(DOXYF)
.PHONY: install .PHONY: install
install: install:

View File

@ -5,7 +5,7 @@
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
DOXYFILE_ENCODING = UTF-8 DOXYFILE_ENCODING = UTF-8
PROJECT_NAME = "XBPS Library API" PROJECT_NAME = "XBPS Library API"
PROJECT_NUMBER = 20110126 PROJECT_NUMBER = @@PROJECT_NUMBER@@
PROJECT_BRIEF = "The X Binary Package System" PROJECT_BRIEF = "The X Binary Package System"
PROJECT_LOGO = xbps-logo.png PROJECT_LOGO = xbps-logo.png
OUTPUT_DIRECTORY = ../api OUTPUT_DIRECTORY = ../api
@ -133,7 +133,7 @@ STRIP_CODE_COMMENTS = NO
REFERENCED_BY_RELATION = YES REFERENCED_BY_RELATION = YES
REFERENCES_RELATION = YES REFERENCES_RELATION = YES
REFERENCES_LINK_SOURCE = YES REFERENCES_LINK_SOURCE = YES
USE_HTAGS = YES USE_HTAGS = NO
VERBATIM_HEADERS = NO VERBATIM_HEADERS = NO
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
# configuration options related to the alphabetical class index # configuration options related to the alphabetical class index