projects
/
ipypbx
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
5632d39
)
Create SQL tables initialization from Makefile
author
Stas Shtin
<antisvin@gmail.com>
Thu, 15 Apr 2010 17:07:09 +0000
(21:07 +0400)
committer
Stas Shtin
<antisvin@gmail.com>
Thu, 15 Apr 2010 17:07:09 +0000
(21:07 +0400)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
51ee2ad
..
4abc8ad
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-4,7
+4,7
@@
TRANSLATIONS_PATH=src/ipypbx/locale
PROJECT=$(BASENAME).pro
UI=ui/layout.ui
PROJECT=$(BASENAME).pro
UI=ui/layout.ui
-all: generate_ui translation
+all: generate_sql generate_ui translation
generate_ui:
pyuic4 $(UI) -o src/$(BASENAME)/ui.py
generate_ui:
pyuic4 $(UI) -o src/$(BASENAME)/ui.py
@@
-31,3
+31,6
@@
ts2po:
transrelease:
lrelease $(PROJECT)
transrelease:
lrelease $(PROJECT)
+
+generate_sql:
+ PYTHONPATH=projects/sample/:src DJANGO_SETTINGS_MODULE=settings django-admin dumpsql