diff options
-rw-r--r-- | Makefile.example | 11 |
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 |