]> gitweb.michael.orlitzky.com - spline3.git/blobdiff - makefile
Add the prop_interior_values_all_identical test.
[spline3.git] / makefile
index 84c6d1d0f0f3ff0bd2d304cc710c7313eaf0db93..36f07cd14154904f9949690b46d5d4abf7155262 100644 (file)
--- a/makefile
+++ b/makefile
@@ -7,7 +7,7 @@ GHC_WARNINGS += -fwarn-type-defaults
 
 BIN := spline3
 
-.PHONY : test doc src_html hlint
+.PHONY : test publish_doc doc src_html hlint
 
 $(BIN): src/*.hs
        ghc -O2 $(GHC_WARNINGS) --make -o bin/${BIN} src/*.hs
@@ -68,6 +68,11 @@ doc: src_html
          --source-entity="src/%{MODULE/.//}.html#%{NAME}" \
          src/*.hs src/Tests/*.hs
 
+SSH_USER=root@michael.orlitzky.com
+PUBLIC_DOCDIR=/var/www/orlitzky.com/michael/public/spline3/
+publish_doc: doc
+       rsync -avz -e ssh ./doc/html/ $(SSH_USER):$(PUBLIC_DOCDIR)
+
 hlint:
        hlint --ignore="Use camelCase"     \
              --ignore="Redundant bracket" \