]> git.saurik.com Git - bison.git/commitdiff
Fix Doxygen generation and clean-up.
authorTim Landscheidt <tim@tim-landscheidt.de>
Tue, 27 Mar 2012 19:28:02 +0000 (19:28 +0000)
committerAkim Demaille <akim@lrde.epita.fr>
Sun, 1 Apr 2012 12:22:05 +0000 (14:22 +0200)
* doc/Doxyfile.in: Amend OUTPUT_DIRECTORY.
* doc/local.mk (html-local): Amend working directory.
(CLEANDIRS): Fix "html", remove "latex".

doc/Doxyfile.in
doc/local.mk

index b813d80291663ec1397c7540cb02fc997200476c..1fa2e2ba00b786826dc5497457bd0627fdde0012 100644 (file)
@@ -30,7 +30,7 @@ PROJECT_NUMBER         = "@PACKAGE_VERSION@"
 # If a relative path is entered, it will be relative to the location
 # where doxygen was started. If left blank the current directory will be used.
 
-OUTPUT_DIRECTORY       = .
+OUTPUT_DIRECTORY       = @top_builddir@/doc
 
 # The OUTPUT_LANGUAGE tag is used to specify the language in which all
 # documentation generated by doxygen is written. Doxygen will use this
index 09c387a7d61df55bce3005ff31e9169d022b5c14..513e548adb6d09691a1924118e00443bfe9dd408 100644 (file)
@@ -124,7 +124,7 @@ DOXYGEN = doxygen
 doc: html
 
 html-local: doc/Doxyfile
-       $(AM_V_GEN) cd doc && $(DOXYGEN)
+       $(AM_V_GEN) $(DOXYGEN) doc/Doxyfile
 
 edit = sed -e 's,@PACKAGE_NAME\@,$(PACKAGE_NAME),g' \
           -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \
@@ -138,4 +138,4 @@ CLEANFILES += doc/Doxyfile
 doc/Doxyfile: $(top_srcdir)/doc/Doxyfile.in
        $(AM_V_GEN) $(edit) $(top_srcdir)/doc/Doxyfile.in >doc/Doxyfile
 
-CLEANDIRS += html latex
+CLEANDIRS += doc/html