Skip to content

Commit

Permalink
Adds Makefile that will set the correct DJANGO_SETTINGS_MODULE
Browse files Browse the repository at this point in the history
  • Loading branch information
gvangool committed Jan 18, 2012
1 parent b5f7950 commit 213b5d6
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Makefile
@@ -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.