summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/.gitignore1
-rw-r--r--doc/Doxyfile.in (renamed from doc/Doxyfile)2
-rw-r--r--doc/Makefile.am5
3 files changed, 6 insertions, 2 deletions
diff --git a/doc/.gitignore b/doc/.gitignore
index a9736555..4e41f359 100644
--- a/doc/.gitignore
+++ b/doc/.gitignore
@@ -6,3 +6,4 @@ asciidoc.js
*.xml
man3
website.tar.gz
+Doxyfile
diff --git a/doc/Doxyfile b/doc/Doxyfile.in
index 4e64534a..78481dd5 100644
--- a/doc/Doxyfile
+++ b/doc/Doxyfile.in
@@ -8,7 +8,7 @@ PROJECT_NAME = libalpm
PROJECT_NUMBER =
PROJECT_BRIEF = "Arch Linux Package Manager Library"
PROJECT_LOGO =
-OUTPUT_DIRECTORY = ./
+OUTPUT_DIRECTORY = @OUTPUT_DIRECTORY@
CREATE_SUBDIRS = NO
OUTPUT_LANGUAGE = English
BRIEF_MEMBER_DESC = YES
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 2ac38cba..711921fd 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -92,7 +92,10 @@ man_MANS += $(DOXYGEN_MANS)
all-local: doxygen.in
-doxygen.in:
+Doxyfile: Doxyfile.in
+ sed 's,@OUTPUT_DIRECTORY@,./,' Doxyfile.in >Doxyfile
+
+doxygen.in: Doxyfile
$(DOXYGEN) $(srcdir)/Doxyfile
endif