[gtk-doc] scan: don't create empty *-overrides.txt files
- From: Stefan Kost <stefkost src gnome org>
- To: svn-commits-list gnome org
- Subject: [gtk-doc] scan: don't create empty *-overrides.txt files
- Date: Tue, 7 Jul 2009 12:09:42 +0000 (UTC)
commit 286e9719a48b11c043f2d2454a8231cf86a57214
Author: Stefan Kost <ensonic users sf net>
Date: Tue Jul 7 13:04:41 2009 +0100
scan: don't create empty *-overrides.txt files
In the two places where we read them we check if they exist anyway.
gtkdoc-scan.in | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/gtkdoc-scan.in b/gtkdoc-scan.in
index d199fb5..1e14f82 100755
--- a/gtkdoc-scan.in
+++ b/gtkdoc-scan.in
@@ -181,10 +181,11 @@ if ($REBUILD_SECTIONS || ! -e $sections_file) {
}
# If there is no MODULE-overrides.txt file we create an empty one.
-my $overrides_file = "${OUTPUT_DIR}/$MODULE-overrides.txt";
-if (! -e $overrides_file) {
- `touch $overrides_file`;
-}
+# FIXME: why?
+#my $overrides_file = "${OUTPUT_DIR}/$MODULE-overrides.txt";
+#if (! -e $overrides_file) {
+# `touch $overrides_file`;
+#}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]