Dynamically generate Doxyfile from input
This isn't super interesting for the autotools side, but it's necessary in order to make things sane for other build systems which we might introduce in the future.
This commit is contained in:
parent
b5d62d2c91
commit
dab45f0808
3 changed files with 6 additions and 2 deletions
1
doc/.gitignore
vendored
1
doc/.gitignore
vendored
|
@ -6,3 +6,4 @@ asciidoc.js
|
||||||
*.xml
|
*.xml
|
||||||
man3
|
man3
|
||||||
website.tar.gz
|
website.tar.gz
|
||||||
|
Doxyfile
|
||||||
|
|
|
@ -8,7 +8,7 @@ PROJECT_NAME = libalpm
|
||||||
PROJECT_NUMBER =
|
PROJECT_NUMBER =
|
||||||
PROJECT_BRIEF = "Arch Linux Package Manager Library"
|
PROJECT_BRIEF = "Arch Linux Package Manager Library"
|
||||||
PROJECT_LOGO =
|
PROJECT_LOGO =
|
||||||
OUTPUT_DIRECTORY = ./
|
OUTPUT_DIRECTORY = @OUTPUT_DIRECTORY@
|
||||||
CREATE_SUBDIRS = NO
|
CREATE_SUBDIRS = NO
|
||||||
OUTPUT_LANGUAGE = English
|
OUTPUT_LANGUAGE = English
|
||||||
BRIEF_MEMBER_DESC = YES
|
BRIEF_MEMBER_DESC = YES
|
|
@ -92,7 +92,10 @@ man_MANS += $(DOXYGEN_MANS)
|
||||||
|
|
||||||
all-local: doxygen.in
|
all-local: doxygen.in
|
||||||
|
|
||||||
doxygen.in:
|
Doxyfile: Doxyfile.in
|
||||||
|
sed 's,@OUTPUT_DIRECTORY@,./,' Doxyfile.in >Doxyfile
|
||||||
|
|
||||||
|
doxygen.in: Doxyfile
|
||||||
$(DOXYGEN) $(srcdir)/Doxyfile
|
$(DOXYGEN) $(srcdir)/Doxyfile
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue