CABALOPTS =
run-test: run-test-plain run-test-blas run-test-lapack
run-test-plain: update-test
runhaskell Setup configure --user --enable-tests
runhaskell Setup build
runhaskell Setup haddock
./dist/build/align-audio-test/align-audio-test
run-test-blas: update-test
runhaskell Setup configure --user --enable-tests -fblas
runhaskell Setup build
./dist/build/align-audio-test/align-audio-test
run-test-lapack: update-test
runhaskell Setup configure --user --enable-tests -flapack
runhaskell Setup build
./dist/build/align-audio-test/align-audio-test
update-test:
doctest-extract-0.1 -i src/ -o test/ --import-tested --executable-main=Test.hs \
Correlate CorrelateResample
align-audio.deb:
cabal v2-install $(CABALOPTS) \
--installdir=bin --overwrite-policy=always --install-method=copy
fpm -s dir -t deb -n align-audio -v 0.0 -p $@ \
-d libsox3 \
-d libfftw3-single3 -d libfftw3-double3 \
--description='Find relative time displacement of two recordings of the same music' \
bin=/usr
align-audio-blas.deb:
cabal v2-install -fblas $(CABALOPTS) \
--installdir=bin --overwrite-policy=always --install-method=copy
fpm -s dir -t deb -n align-audio -v 0.0 -p $@ \
-d libblas3 -d liblapack3 \
-d libsox3 \
-d libfftw3-single3 -d libfftw3-double3 \
--description='Find relative time displacement of two recordings of the same music' \
bin=/usr