]> gitweb.michael.orlitzky.com - spline3.git/blobdiff - util/hscolour_srcs
Add images of some results.
[spline3.git] / util / hscolour_srcs
index 8bc595fd349002256e3650fccfd7d6046af2c170..cf910c55d840092c74252b93ba613f4ec8e12006 100755 (executable)
 # 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"
+    OUTDIR="dist/doc/html/spline3/spline3/${DIRNAME}/"
+    mkdir -p "${OUTDIR}"
+    OUTFILE="${OUTDIR}/${BASENAME}.html"
     HsColour -html -anchor $file > $OUTFILE
 done