From: Michael Orlitzky Date: Sun, 27 Nov 2011 01:37:59 +0000 (-0500) Subject: Update the hscolour_srcs script to use the Cabal filesystem layout. X-Git-Tag: 0.0.1~57 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=b0152bb41f72743c95513b5933625ffad3988425;p=spline3.git Update the hscolour_srcs script to use the Cabal filesystem layout. --- diff --git a/util/hscolour_srcs b/util/hscolour_srcs index ff14ef0..cf910c5 100755 --- a/util/hscolour_srcs +++ b/util/hscolour_srcs @@ -14,6 +14,8 @@ SRCS=`find ./src -iname '*.hs'` for file in $SRCS; do DIRNAME=`dirname $file` BASENAME=`basename $file .hs` - OUTFILE="doc/html/${DIRNAME}/${BASENAME}.html" + OUTDIR="dist/doc/html/spline3/spline3/${DIRNAME}/" + mkdir -p "${OUTDIR}" + OUTFILE="${OUTDIR}/${BASENAME}.html" HsColour -html -anchor $file > $OUTFILE done