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
commitdc6eed246c7c71b3c63a9e7b83a44d9a601ae9f8 (patch)
tree8fec6427036344ea3c4add362017d71632b6d4ef /Makefile.example
parent473912d6efb9e8888c4f1c717bdf97049b546136 (diff)
downloadIshtar-dc6eed246c7c71b3c63a9e7b83a44d9a601ae9f8.tar.bz2
Ishtar-dc6eed246c7c71b3c63a9e7b83a44d9a601ae9f8.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