[gtk-doc] scan: also try full name to allow to disambiguate



commit ce745c82cc38784fcfd0d7d59993ef356bbdb251
Author: Stefan Sauer <ensonic users sf net>
Date:   Mon Jul 23 16:11:02 2012 +0200

    scan: also try full name to allow to disambiguate

 gtkdoc-scan.in |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/gtkdoc-scan.in b/gtkdoc-scan.in
index 84245b8..3b14eba 100755
--- a/gtkdoc-scan.in
+++ b/gtkdoc-scan.in
@@ -307,6 +307,11 @@ sub ScanHeader {
         @TRACE@("File ignored: $input_file");
         return;
     }
+    # Check if the full name is in the list of headers to ignore.
+    if ($IGNORE_HEADERS =~ m/(\s|^)\Q${input_file}\E(\s|$)/) {
+        @TRACE@("File ignored: $input_file");
+        return;
+    }
 
     if (! -f $input_file) {
         LogWarning(__FILE__,__LINE__,"File doesn't exist: $input_file");



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]