51
51
if test $uninstalled = yes; then
52
52
# this does not work from buiddir!=srcdir
55
55
if test ! -f $gtkdocdir/gtk-doc.xsl; then
56
56
# try to src dir (set from makefiles) too
57
57
if test -f $ABS_TOP_SRCDIR/gtk-doc.xsl; then
58
58
gtkdocdir=$ABS_TOP_SRCDIR
61
62
#echo "uninstalled, gtkdocdir=$gtkdocdir, cwd=$PWD"
63
64
# the first two are needed to resolve datadir
65
66
datarootdir=@datarootdir@
66
67
gtkdocdir=@datadir@/gtk-doc/data
69
71
if head -n 1 $document | grep "<?xml" > /dev/null; then