X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=util%2Fhscolour_srcs;h=ff14ef0562e48bfbf7f1170515152f51b1f666bf;hb=71c69c67074e6eb6ce7520739bc729691525b20b;hp=8bc595fd349002256e3650fccfd7d6046af2c170;hpb=89b8b6e94fcc944a1f4611811265f3c6217af850;p=spline3.git diff --git a/util/hscolour_srcs b/util/hscolour_srcs index 8bc595f..ff14ef0 100755 --- a/util/hscolour_srcs +++ b/util/hscolour_srcs @@ -11,12 +11,9 @@ # coincide with the ones passed to 'haddock' in the makefile. SRCS=`find ./src -iname '*.hs'` -# We have to create the output directories before we start. -mkdir -p doc/src/Tests - for file in $SRCS; do DIRNAME=`dirname $file` BASENAME=`basename $file .hs` - OUTFILE="doc/${DIRNAME}/${BASENAME}.html" + OUTFILE="doc/html/${DIRNAME}/${BASENAME}.html" HsColour -html -anchor $file > $OUTFILE done