From ef718028e82c0b31ed901dc6639658e6ad0907fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Crozet?= Date: Sun, 11 Aug 2013 13:24:38 +0200 Subject: [PATCH] Add distcheck rule to the makefile. --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) 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