~ubuntu-branches/ubuntu/utopic/gtk-doc/utopic

« back to all changes in this revision

Viewing changes to gtkdoc-mkhtml.in

  • Committer: Package Import Robot
  • Author(s): Jackson Doak
  • Date: 2014-02-19 10:06:14 UTC
  • mfrom: (1.2.16) (4.1.14 sid)
  • Revision ID: package-import@ubuntu.com-20140219100614-6nl7giysk333qsi5
Tags: 1.20-1ubuntu1
* Merge from debian. Remaining changes:
  - debian/control.in: Drop optional highlight dependency, which is in
    universe.

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
if test $uninstalled = yes; then
52
52
    # this does not work from buiddir!=srcdir
53
53
    gtkdocdir=`dirname $0`
54
 
        # traditional Bourne shells may not support -e here, use -f
 
54
          # traditional Bourne shells may not support -e here, use -f
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
59
59
        fi
60
60
    fi
 
61
    styledir=$gtkdocdir/style
61
62
    #echo "uninstalled, gtkdocdir=$gtkdocdir, cwd=$PWD"
62
63
else
63
64
    # the first two are needed to resolve datadir
64
65
    prefix=@prefix@
65
66
    datarootdir=@datarootdir@
66
67
    gtkdocdir=@datadir@/gtk-doc/data
 
68
    styledir=$gtkdocdir
67
69
fi
68
70
 
69
71
if head -n 1 $document | grep "<?xml" > /dev/null; then
106
108
fi
107
109
 
108
110
# copy navigation images and stylesheets to html directory ...
109
 
cp -f $gtkdocdir/*.png ./
110
 
cp -f $gtkdocdir/*.css ./
 
111
cp -f $styledir/*.png $styledir/*.css ./
111
112
 
112
113
 
113
114
echo "timestamp" > ../html.stamp