This file is indexed.

/usr/bin/gtkdoc-mkhtml is in gtk-doc-tools 1.25-1ubuntu1.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
#!/bin/sh
#

usage() {
cat <<EOF
gtkdoc-mkhtml version 1.25 - generate documentation in html format

--verbose               Print extra output while processing
--path=SEARCH_PATH      Extra source directories
MODULE                  Name of the doc module being parsed
DRIVER_FILE             File containing the toplevel DocBook file.
--version               Print the version of this program
--help                  Print this help
EOF
}

# echo "args $*\n";

# parse options, ignore unknown options for future extensions

verbose="0"
searchpath=
uninstalled=no
while true; do
    case "X$1" in
        X--version) echo "1.25"; exit 0;;
        X--help) usage; exit 0;;
        X--uninstalled) uninstalled=yes; shift;;
        X--verbose) verbose="1"; shift;;
        X--path=*) searchpath=`echo "$1" | sed s/.*=//`; shift;;
        X--*) shift;;
        X*) break;;
    esac
done

if test $# -lt 2; then
    usage 1>&2
    exit 1
fi

module="$1"
shift
document="$1"
shift

quiet="1"
if test $verbose = "1"; then
    quiet="0"
fi

if test $uninstalled = yes; then
    # this does not work from buiddir!=srcdir
    gtkdocdir=`dirname $0`
	  # traditional Bourne shells may not support -e here, use -f
    if test ! -f $gtkdocdir/gtk-doc.xsl; then
        # try to src dir (set from makefiles) too
        if test -f $ABS_TOP_SRCDIR/gtk-doc.xsl; then
            gtkdocdir=$ABS_TOP_SRCDIR
        fi
    fi
    styledir=$gtkdocdir/style
    #echo "uninstalled, gtkdocdir=$gtkdocdir, cwd=$PWD"
else
    # the first two are needed to resolve datadir
    prefix=/usr
    datarootdir=${prefix}/share
    gtkdocdir=${datarootdir}/gtk-doc/data
    styledir=$gtkdocdir
fi

# we could do "$path_option $PWD "
# to avoid needing rewriting entities that are copied from the header
# into docs under xml
if test "X$searchpath" = "X"; then
    path_arg=
else
    path_arg="--path $searchpath"
fi

# profiling
profile_args=""
if test "$GTKDOC_PROFILE" != ""; then
  profile_args="--profile"
fi

#echo /usr/bin/xsltproc $path_arg --nonet --xinclude \
#    --stringparam gtkdoc.bookname $module \
#    --stringparam gtkdoc.version "1.25" \
#    "$@" $gtkdocdir/gtk-doc.xsl "$document"
/usr/bin/xsltproc 2>profile.txt $profile_args $path_arg --nonet --xinclude \
    --stringparam gtkdoc.bookname $module \
    --stringparam gtkdoc.version "1.25" \
    --stringparam chunk.quietly $quiet \
    --stringparam chunker.output.quiet $quiet \
    "$@" $gtkdocdir/gtk-doc.xsl "$document" || exit $?

# profiling
if test "$GTKDOC_PROFILE" != ""; then
  cat profile.txt | gprof2dot.py -e 0.01 -n 0.01 | dot -Tpng -o profile.png
else
  rm profile.txt
fi

# copy navigation images and stylesheets to html directory ...
cp -f $styledir/*.png $styledir/*.css ./


echo "timestamp" > ../html.stamp