Add distcheck rule to the makefile.

This commit is contained in:
Sébastien Crozet 2013-08-11 13:24:38 +02:00
parent 50a6454ae8
commit ef718028e8
1 changed files with 7 additions and 0 deletions

View File

@ -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