]>
gitweb.michael.orlitzky.com - spline3.git/blob - hscolour_srcs
cf910c55d840092c74252b93ba613f4ec8e12006
5 # Called from the makefile to generate colourised source HTML which is
6 # then used by Haddock.
9 # Find all source files. The way we do this is important, because of
10 # the dirname and basename invocations below. The paths here must
11 # coincide with the ones passed to 'haddock' in the makefile.
12 SRCS
=`find ./src -iname '*.hs'`
15 DIRNAME
=`dirname $file`
16 BASENAME
=`basename $file .hs`
17 OUTDIR
="dist/doc/html/spline3/spline3/${DIRNAME}/"
19 OUTFILE
="${OUTDIR}/${BASENAME}.html"
20 HsColour
-html -anchor $file > $OUTFILE