summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorNicola Fontana <ntd@entidi.it>2010-03-31 19:50:51 +0200
committerStefan Kost <ensonic@users.sf.net>2010-04-14 09:48:02 +0300
commit59fe16c234baa2c32707648088403871316a4d7f (patch)
treec88020261afd4b7325adc1efb5cef88026b6af1a /examples
parent0a874b3a2d97476caf8100386ceed5070a2d065e (diff)
downloadgtk-doc-59fe16c234baa2c32707648088403871316a4d7f.tar.gz
Support for multiple DOC_SOURCE_DIR directories
gtkdoc-scan and gtkdoc-mkdb are yet able to accept more than one source directory but gtk-doc.make and gtk-doc.notmpl.make do not support this feature. The implementation uses an helper shell variable ($_source_dir) that prepends --source-dir to every item in DOC_SOURCE_DIR and passes it to gtkdoc-scan and gtkdoc-mkdb. This also means if DOC_SOURCE_DIR contains only one item, the makefiles behave as before.
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile.am8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/Makefile.am b/examples/Makefile.am
index 25cec2e..1e36e16 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -18,10 +18,10 @@ DOC_MODULE=
# The top-level SGML file. You can change this if you want to.
DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.sgml
-# The directory containing the source code. Relative to $(srcdir).
-# gtk-doc will search all .c & .h files beneath here for inline comments
-# documenting the functions and macros.
-# e.g. DOC_SOURCE_DIR=../../../gtk
+# Directories containing the source code, relative to $(srcdir).
+# gtk-doc will search all .c and .h files beneath these paths
+# for inline comments documenting functions and macros.
+# e.g. DOC_SOURCE_DIR=../../../gtk ../../../gdk
DOC_SOURCE_DIR=
# Extra options to pass to gtkdoc-scangobj. Not normally needed.