lapack-0.5.2: Makefile
all: ReadMe.html Changes.html
run-test: update-test
runhaskell Setup configure --user --enable-tests -fbuildExamples
runhaskell Setup build
runhaskell Setup haddock
./dist/build/lapack-test/lapack-test
run-test-cabal: update-test
cabal test --show-details=streaming
update-test: test-module.list
doctest-extract-0.1 -i src/ -o test/ --module-prefix DocTest --library-main=Main $$(cat $<)
test-module.list: lapack.cabal
grep '^ \+DocTest\.Numeric\.LAPACK\.' $< | cut -d. -f2- >$@
%.html: %.md
pandoc --standalone --metadata pagetitle="$*" --output=$@ $<