summaryrefslogtreecommitdiff
path: root/gtkdoc-rebase.in
diff options
context:
space:
mode:
authorStefan Sauer <ensonic@users.sf.net>2016-06-05 20:12:55 +0200
committerStefan Sauer <ensonic@users.sf.net>2016-06-05 20:15:19 +0200
commit08e723acccdc0a284c2ac386a8b5c6a0948948eb (patch)
treeeab73c94a2d39a6612b22ccf9394067728272d43 /gtkdoc-rebase.in
parent5ee4e11ddebb85779fb62996ea566a20a0bed2e3 (diff)
downloadgtk-doc-08e723acccdc0a284c2ac386a8b5c6a0948948eb.tar.gz
rebase: add tracing support
https://bugzilla.gnome.org/show_bug.cgi?id=767271
Diffstat (limited to 'gtkdoc-rebase.in')
-rw-r--r--gtkdoc-rebase.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/gtkdoc-rebase.in b/gtkdoc-rebase.in
index 127f7a6..30db903 100644
--- a/gtkdoc-rebase.in
+++ b/gtkdoc-rebase.in
@@ -30,6 +30,9 @@ use bytes;
use Getopt::Long qw(:config gnu_getopt);
use Cwd qw(realpath);
+push @INC, '@PACKAGE_DATA_DIR@';
+require "gtkdoc-common.pl";
+
# Options
my $HTML_DIR;
@@ -347,6 +350,8 @@ sub RebaseLink {
$dir = $LocalMap{ $package };
}
$href = $dir . $file;
+ } else {
+ @TRACE@("Can't determine package for '$href'");
}
if ($dir ne $origdir) {
if ($Mapped{ $origdir }) {