diff options
author | Stefan Sauer <ensonic@users.sf.net> | 2014-02-04 20:20:09 +0100 |
---|---|---|
committer | Stefan Sauer <ensonic@users.sf.net> | 2014-02-04 21:42:48 +0100 |
commit | d86bb8b7bea058b8e53f6e521839d989f285eaf3 (patch) | |
tree | f0cc90058155ff171adefe2b64c4693521e9f026 /gtkdoc-mkhtml.in | |
parent | 95029aa1493b5eeb62ad6c89db2d6f6ee2642b10 (diff) | |
download | gtk-doc-d86bb8b7bea058b8e53f6e521839d989f285eaf3.tar.gz |
style: group files we redistribute with the generated docs
Add a style directory and move the images + the css there. Add a COPYING file to
clarify their license.
Diffstat (limited to 'gtkdoc-mkhtml.in')
-rw-r--r-- | gtkdoc-mkhtml.in | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gtkdoc-mkhtml.in b/gtkdoc-mkhtml.in index 8c4af98..13256fc 100644 --- a/gtkdoc-mkhtml.in +++ b/gtkdoc-mkhtml.in @@ -51,19 +51,21 @@ 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 + # 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=@prefix@ datarootdir=@datarootdir@ gtkdocdir=@datadir@/gtk-doc/data + styledir=$gtkdocdir fi if head -n 1 $document | grep "<?xml" > /dev/null; then @@ -106,8 +108,7 @@ else fi # copy navigation images and stylesheets to html directory ... -cp -f $gtkdocdir/*.png ./ -cp -f $gtkdocdir/*.css ./ +cp -f $styledir/*.png $styledir/*.css ./ echo "timestamp" > ../html.stamp |