From e9e13018be2922d9522d4b643fb68849017229b2 Mon Sep 17 00:00:00 2001 From: Stas Shtin Date: Sun, 11 Apr 2010 20:13:38 +0400 Subject: [PATCH] Added makefile for basic tasks --- Makefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 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 -- 1.7.9.5