Support for multiple DOC_SOURCE_DIR directories
commit59fe16c234baa2c32707648088403871316a4d7f
authorNicola Fontana <ntd@entidi.it>
Wed, 31 Mar 2010 17:50:51 +0000 (31 19:50 +0200)
committerStefan Kost <ensonic@users.sf.net>
Wed, 14 Apr 2010 06:48:02 +0000 (14 09:48 +0300)
treec88020261afd4b7325adc1efb5cef88026b6af1a
parent0a874b3a2d97476caf8100386ceed5070a2d065e
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.
examples/Makefile.am
gtk-doc.make
gtk-doc.notmpl.make