Add distcheck rule to the makefile.
This commit is contained in:
parent
50a6454ae8
commit
ef718028e8
7
Makefile
7
Makefile
|
@ -1,3 +1,4 @@
|
||||||
|
tmp=_git_distcheck
|
||||||
nalgebra_lib_path=lib
|
nalgebra_lib_path=lib
|
||||||
nalgebra_doc_path=doc
|
nalgebra_doc_path=doc
|
||||||
all:
|
all:
|
||||||
|
@ -13,5 +14,11 @@ doc:
|
||||||
mkdir -p $(nalgebra_doc_path)
|
mkdir -p $(nalgebra_doc_path)
|
||||||
rust doc src/nalgebra.rc --output-dir $(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:doc
|
||||||
.PHONY:test
|
.PHONY:test
|
||||||
|
|
Loading…
Reference in New Issue