diff --git a/sourcedoc/Doxyfile.in b/sourcedoc/Doxyfile.in index 097d4a9aab..697cc5438c 100644 --- a/sourcedoc/Doxyfile.in +++ b/sourcedoc/Doxyfile.in @@ -30,7 +30,7 @@ PROJECT_NUMBER = @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 = @srcdir@ +OUTPUT_DIRECTORY = # The OUTPUT_LANGUAGE tag is used to specify the language in which all # documentation generated by doxygen is written. Doxygen will use this diff --git a/sourcedoc/Makefile.am b/sourcedoc/Makefile.am index cd5dd1c886..c446d5c753 100644 --- a/sourcedoc/Makefile.am +++ b/sourcedoc/Makefile.am @@ -2,10 +2,12 @@ include $(top_srcdir)/config/common.am EXTRA_DIST = Doxyfile.in +OUTPUT_DIR = . + doxydoc: Doxyfile - doxygen ./Doxyfile + cd $(OUTPUT_DIR) ; doxygen ./Doxyfile distclean-local: - rm -rf $(srcdir)/html $(srcdir)/latex $(srcdir)/main + rm -rf $(OUTPUT_DIR)/html $(OUTPUT_DIR)/latex $(OUTPUT_DIR)/main .PHONY: doxydoc