summaryrefslogtreecommitdiff
path: root/Makefile.example
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-02-17 21:09:09 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-02-17 21:09:09 +0100
commitad3ebfed01a7bb3844349b6c00e64377bde4055b (patch)
tree121a4e7a25b8302fa4412a6066565f86dfd4733f /Makefile.example
parente2a45e2db75ec6960d458ea08004becaf429d2f6 (diff)
parentc37bb6ecce45fccc1f0c9d321a785ffeeefc3366 (diff)
downloadIshtar-ad3ebfed01a7bb3844349b6c00e64377bde4055b.tar.bz2
Ishtar-ad3ebfed01a7bb3844349b6c00e64377bde4055b.zip
Merge branch 'master' into v0.9
Conflicts: ishtar_common/migrations/0030_auto__add_state__chg_field_sourcetype_txt_idx__chg_field_authortype_tx.py
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 89cae31a1..e7e604706 100644
--- a/Makefile.example
+++ b/Makefile.example
@@ -145,14 +145,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