diff --git a/Makefile b/Makefile index 68005dea..dd72f3b4 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,4 @@ +tmp=_git_distcheck nalgebra_lib_path=lib nalgebra_doc_path=doc all: @@ -13,5 +14,11 @@ doc: mkdir -p $(nalgebra_doc_path) rust doc src/nalgebra.rc --output-dir $(nalgebra_doc_path) +distcheck: + rm -rf $(tmp) + git clone --recursive . $(tmp) + make -C $(tmp) + rm -rf $(tmp) + .PHONY:doc .PHONY:test