Skip to content

Commit

Permalink
Add distcheck rule to the makefile.
Browse files Browse the repository at this point in the history
  • Loading branch information
sebcrozet committed Aug 11, 2013
1 parent 50a6454 commit ef71802
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
tmp=_git_distcheck
nalgebra_lib_path=lib
nalgebra_doc_path=doc
all:
Expand 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

0 comments on commit ef71802

Please sign in to comment.