Add db/Makefile
authorNicolas Iooss <nicolas.iooss_git@polytechnique.org>
Wed, 23 Sep 2015 12:48:48 +0000 (14:48 +0200)
committerNicolas Iooss <nicolas.iooss_git@polytechnique.org>
Wed, 23 Sep 2015 12:48:48 +0000 (14:48 +0200)
database/Makefile [new file with mode: 0644]

diff --git a/database/Makefile b/database/Makefile
new file mode 100644 (file)
index 0000000..f83de8d
--- /dev/null
@@ -0,0 +1,10 @@
+PYTHON ?= python
+RM ?= rm -f
+
+all:
+       $(PYTHON) manage.py syncdb --noinput
+
+clean:
+       $(RM) db.sqlite
+
+.PHONY: all clean