From 75e788116303131b9869e1a1d32e94a99a15af97 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Barrois?= Date: Wed, 6 Feb 2013 23:08:33 +0100 Subject: [PATCH] Better Makefile. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Raphaël Barrois --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 86cc29e..852b339 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,6 @@ MANAGE_PY = python manage.py +ROOT_DIR = xnet +APPS = $(shell find $(ROOT_DIR) -name 'models.py' | sed 's,/models.py$$,,; s:.*/::') default: all @@ -14,7 +16,7 @@ shell: $(MANAGE_PY) shell test: - $(MANAGE_PY) test example accounts site news + $(MANAGE_PY) test $(APPS) resetdb: rm -f xnet/db.sqlite -- 2.1.4