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
--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 $(SSH_USER):$(PUBLIC_DOCDIR) ./doc/html/
+
hlint:
hlint --ignore="Use camelCase" \
--ignore="Redundant bracket" \