Permalink
Browse files

Adds Makefile that will set the correct DJANGO_SETTINGS_MODULE

  • Loading branch information...
1 parent b5f7950 commit 213b5d63d79f9fa00b2a3fc7299ba1424d467c9e @gvangool gvangool committed Jan 18, 2012
Showing with 11 additions and 0 deletions.
  1. +11 −0 Makefile
View
@@ -0,0 +1,11 @@
+DOCS_MAKE_CMD = html dirhtml latex latexpdf
+
+.PHONY: $(DOCS_MAKE_CMD) docs clean
+
+docs: $(DOCS_MAKE_CMD)
+
+$(DOCS_MAKE_CMD):
+ DJANGO_SETTINGS_MODULE=test_proj.settings $(MAKE) -C docs $@
+
+clean: docs_clean
+ $(MAKE) -C docs clean

0 comments on commit 213b5d6

Please sign in to comment.