docs: fix srcdir != builddir builds

This commit is contained in:
Owen W. Taylor 2012-01-04 12:33:25 -05:00
parent 0e753ed5a6
commit c6b169cb33
2 changed files with 4 additions and 6 deletions

View File

@ -18,11 +18,10 @@ DOC_MODULE=shell
# The top-level SGML file. You can change this if you want to. # The top-level SGML file. You can change this if you want to.
DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.sgml DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.sgml
# Directories containing the source code, relative to $(srcdir). # Directories containing the source code
# gtk-doc will search all .c and .h files beneath these paths # gtk-doc will search all .c and .h files beneath these paths
# for inline comments documenting functions and macros. # for inline comments documenting functions and macros.
# e.g. DOC_SOURCE_DIR=../../../gtk ../../../gdk DOC_SOURCE_DIR=$(top_srcdir)/src
DOC_SOURCE_DIR=../../../src
# Extra options to pass to gtkdoc-scangobj. Not normally needed. # Extra options to pass to gtkdoc-scangobj. Not normally needed.
SCANGOBJ_OPTIONS= SCANGOBJ_OPTIONS=

View File

@ -18,11 +18,10 @@ DOC_MODULE=st
# The top-level SGML file. You can change this if you want to. # The top-level SGML file. You can change this if you want to.
DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.sgml DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.sgml
# Directories containing the source code, relative to $(srcdir). # Directories containing the source code
# gtk-doc will search all .c and .h files beneath these paths # gtk-doc will search all .c and .h files beneath these paths
# for inline comments documenting functions and macros. # for inline comments documenting functions and macros.
# e.g. DOC_SOURCE_DIR=../../../gtk ../../../gdk DOC_SOURCE_DIR=$(top_srcdir)/src/st
DOC_SOURCE_DIR=../../../src/st
# Extra options to pass to gtkdoc-scangobj. Not normally needed. # Extra options to pass to gtkdoc-scangobj. Not normally needed.
SCANGOBJ_OPTIONS= SCANGOBJ_OPTIONS=