File: haddock.sh

package info (click to toggle)
haskell-xmlhtml 0.2.5.4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,924 kB
  • sloc: xml: 8,109; haskell: 4,868; sh: 6; makefile: 3
file content (12 lines) | stat: -rw-r--r-- 314 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

set -x

rm -Rf dist/doc

HADDOCK_OPTS='--html-location=http://hackage.haskell.org/packages/archive/$pkg/latest/doc/html --css=extra/haddock.css'

cabal haddock $HADDOCK_OPTS --hyperlink-source $@

cp extra/logo.gif dist/doc/html/xmlhtml/haskell_icon.gif
cp extra/hscolour.css dist/doc/html/xmlhtml/src/