[gtk-doc] gtkdoc-mkdb: fix docs for --ignore-files
- From: Stefan Kost <stefkost src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-doc] gtkdoc-mkdb: fix docs for --ignore-files
- Date: Mon, 29 Dec 2014 11:01:51 +0000 (UTC)
commit 3e738e1640f8bcc38b662dd5a6352e6f832e02ac
Author: Stefan Sauer <ensonic users sf net>
Date: Mon Dec 29 11:58:20 2014 +0100
gtkdoc-mkdb: fix docs for --ignore-files
This option can only be given once (args template does not take an array ref).
The arg can contain multiple files/dirs though. Add more logging to make it
easier to debug it.
gtkdoc-mkdb.in | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/gtkdoc-mkdb.in b/gtkdoc-mkdb.in
index de0d35d..74b87b2 100755
--- a/gtkdoc-mkdb.in
+++ b/gtkdoc-mkdb.in
@@ -101,7 +101,6 @@ gtkdoc-mkdb version @VERSION@ - generate docbook files
--source-dir=DIRNAME Directories which contain inline reference material
--source-suffixes=SUFFIXES Suffixes of source files to scan, comma-separated
--ignore-files=FILES Files or directories which should not be scanned
- May be used more than once for multiple directories
--output-dir=DIRNAME Directory to put the generated DocBook files in
--tmpl-dir=DIRNAME Directory in which template files may be found
--main-sgml-file=FILE File containing the toplevel DocBook file.
@@ -118,6 +117,8 @@ EOF
exit 0;
}
+ TRACE@(" ignore files: [$IGNORE_FILES]\n");
+
my ($empty_element_end, $doctype_header);
# autodetect output format
@@ -3823,6 +3824,8 @@ sub ReadSourceDocumentation {
if ($source_dir =~ m%^\Q$dir\E/(.*)$% and $IGNORE_FILES =~ m/(\s|^)\Q$1\E(\s|$)/) {
@TRACE@("Skipping source directory: $source_dir");
return;
+ } else {
+ @TRACE@("No match for: $1");
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]