]> gitweb.michael.orlitzky.com - spline3.git/blobdiff - makefile
Move the HTML documentation into the doc/html directory.
[spline3.git] / makefile
index cb7e81f99f7f6aa96a36227eeaecfa69f82b2601..7bbd4672c3c2f31012b099f5fdb2d76f279ea8d3 100644 (file)
--- a/makefile
+++ b/makefile
@@ -5,7 +5,7 @@ GHC_WARNINGS += -fwarn-name-shadowing
 GHC_WARNINGS += -fwarn-orphans
 GHC_WARNINGS += -fwarn-type-defaults
 
-BIN := spline
+BIN := spline3
 
 .PHONY : test doc src_html
 
@@ -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