summaryrefslogtreecommitdiff
path: root/Makefile.example
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-02-08 19:42:29 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-02-15 18:41:05 +0100
commitd5b0304875ba7a6e9dd001be864a119680598bc5 (patch)
tree8fec6427036344ea3c4add362017d71632b6d4ef /Makefile.example
parentc159b93724d3dcf8567f4c644d6efa9c2f8c5414 (diff)
downloadIshtar-d5b0304875ba7a6e9dd001be864a119680598bc5.tar.bz2
Ishtar-d5b0304875ba7a6e9dd001be864a119680598bc5.zip
Makefile: graph model generation fix
Diffstat (limited to 'Makefile.example')
-rw-r--r--Makefile.example11
1 files changed, 6 insertions, 5 deletions
diff --git a/Makefile.example b/Makefile.example
index 7157efc37..f356ce93e 100644
--- a/Makefile.example
+++ b/Makefile.example
@@ -150,14 +150,15 @@ schemamigrations_initial:
generate_doc:
cd $(project);\
- $(PYTHON) manage.py graph_models --pydot -I "ImporterType,ImporterDefault,ImporterDefaultValues,ImporterColumn,Regexp,ImportTarget,FormaterType,Import" ishtar_common > /tmp/ishtar.dot ;\
- dot -Tpng /tmp/ishtar.dot -o ../docs/source/_static/db-imports.png
+ $(PYTHON) manage.py graph_models --pydot -g -I "ImporterModel,ImporterType,ImporterDefault,ImporterDefaultValues,ImporterColumn,Regexp,ImportTarget,FormaterType,Import" ishtar_common > /tmp/ishtar-imports.dot ;\
+ dot -Tpng /tmp/ishtar-imports.dot -o ../docs/source/_static/db-imports.png
+ rm /tmp/ishtar-imports.dot
cd $(project);\
for APP in $(apps); do \
- $(PYTHON) manage.py graph_models --pydot $$APP > /tmp/ishtar.dot; \
- dot -Tpng /tmp/ishtar.dot -o ../docs/source/_static/db-$$APP.png; \
+ $(PYTHON) manage.py graph_models -g --pydot $$APP > /tmp/ishtar-$$APP.dot; \
+ dot -Tpng /tmp/ishtar-$$APP.dot -o ../docs/source/_static/db-$$APP.png; \
+ rm /tmp/ishtar-$$APP.dot ; \
done
- rm /tmp/ishtar.dot
fixtures: fixtures_auth fixtures_common fixtures_operations fixtures_context_records fixtures_finds fixtures_warehouse fixtures_files