projects
/
ipypbx
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1e0887
)
Added makefile for basic tasks
author
Stas Shtin
<antisvin@gmail.com>
Sun, 11 Apr 2010 16:13:38 +0000
(20:13 +0400)
committer
Stas Shtin
<antisvin@gmail.com>
Sun, 11 Apr 2010 16:13:38 +0000
(20:13 +0400)
Makefile
[new file with mode: 0644]
patch
|
blob
diff --git a/Makefile
b/Makefile
new file mode 100644
(file)
index 0000000..
3faded0
--- /dev/null
+++ b/
Makefile
@@ -0,0
+1,16
@@
+BASENAME=ipypbx
+TRANSLATION_LANGUAGES=ru fi
+TRANSLATIONS_PATH=src/ipypbx/locale
+PROJECT=$(BASENAME).pro
+
+all: ui translation
+
+ui:
+ pyuic4 $(PROJECT)
+
+translation:
+ pylupdate4 $(PROJECT)
+ $(foreach lang, $(TRANSLATION_LANGUAGES), \
+ lconvert -i $(TRANSLATIONS_PATH)/$(BASENAME)_$(lang).ts \
+ -o $(TRANSLATIONS_PATH)/$(BASENAME)_$(lang).po;\
+ )
\ No newline at end of file