summaryrefslogtreecommitdiff
path: root/Makefile.example
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.example')
-rw-r--r--Makefile.example11
1 files changed, 7 insertions, 4 deletions
diff --git a/Makefile.example b/Makefile.example
index 55638f9dd..29ba7cb56 100644
--- a/Makefile.example
+++ b/Makefile.example
@@ -45,6 +45,8 @@ fresh_syncdb:
'../ishtar_common/fixtures/initial_data-'$(default_data)'.json' 2> /dev/null
cd $(project); $(PYTHON) ./manage.py loaddata \
'../ishtar_common/fixtures/initial_towns-'$(default_data)'.json' 2> /dev/null
+ cd $(project); $(PYTHON) ./manage.py loaddata \
+ '../ishtar_common/fixtures/initial_importtypes-'$(default_data)'.json' 2> /dev/null
if [[ '$(apps)' == *archaeological_operations* ]]; then cd $(project); $(PYTHON) ./manage.py loaddata \
'../archaeological_operations/fixtures/initial_data-'$(default_data)'.json' 2> /dev/null; fi
if [[ '$(apps)' == *archaeological_files* ]]; then cd $(project); $(PYTHON) ./manage.py loaddata \
@@ -93,11 +95,12 @@ schemamigrations:
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 -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
+ 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 --pydot $$APP > /tmp/ishtar.dot; \
+ dot -Tpng /tmp/ishtar.dot -o ../docs/source/_static/db-$$APP.png; \
done
rm /tmp/ishtar.dot