File: haddock.sh

package info (click to toggle)
haskell-xmlhtml 0.2.3.5-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 3,800 kB
  • ctags: 1
  • sloc: xml: 8,109; haskell: 5,298; sh: 6; makefile: 3
file content (12 lines) | stat: -rwxr-xr-x 314 bytes parent folder | download | duplicates (4)
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/