From c5d0d16488499cc4ac6378217d6ac071baeb458b Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Tue, 26 Apr 2011 01:08:26 -0400 Subject: [PATCH] Move the HTML documentation into the doc/html directory. --- doc/{ => html}/.gitignore | 0 makefile | 4 ++-- util/hscolour_srcs | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) rename doc/{ => html}/.gitignore (100%) diff --git a/doc/.gitignore b/doc/html/.gitignore similarity index 100% rename from doc/.gitignore rename to doc/html/.gitignore diff --git a/makefile b/makefile index dd56800..7bbd467 100644 --- a/makefile +++ b/makefile @@ -27,7 +27,7 @@ clean: rm -f src/Tests/*.hi rm -f src/Tests/*.o rm -f *.prof - rm -rf doc/* + rm -rf doc/html/* test: runghc -i"src" test/TestSuite.hs @@ -43,7 +43,7 @@ DOCS += -i /usr/share/doc/hmatrix-0.10.0.1/html/hmatrix.haddock doc: src_html haddock $(DOCS) --html --use-unicode \ - --odir=doc/ --title="spline3" \ + --odir=doc/html/ --title="spline3" \ --source-module="src/%{MODULE/.//}.html" \ --source-entity="src/%{MODULE/.//}.html#%{NAME}" \ src/*.hs src/Tests/*.hs diff --git a/util/hscolour_srcs b/util/hscolour_srcs index 8bc595f..d5c015c 100755 --- a/util/hscolour_srcs +++ b/util/hscolour_srcs @@ -12,11 +12,11 @@ SRCS=`find ./src -iname '*.hs'` # We have to create the output directories before we start. -mkdir -p doc/src/Tests +mkdir -p doc/html/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 -- 2.43.2