-
Notifications
You must be signed in to change notification settings - Fork 3
/
makefile
35 lines (27 loc) · 770 Bytes
/
makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
all: \
clean \
mangle/ui/resources_rc.py \
mangle/ui/about_ui.py \
mangle/ui/options_ui.py \
mangle/ui/book_ui.py \
mangle/ui/downloader_ui.py \
locale
mangle/ui/resources_rc.py: mangle/dev/res/resources.qrc
pyrcc4 $< -o $@
mangle/ui/about_ui.py: mangle/dev/ui/about.ui
pyuic4 $< -o $@
mangle/ui/options_ui.py: mangle/dev/ui/options.ui
pyuic4 $< -o $@
mangle/ui/book_ui.py: mangle/dev/ui/book.ui
pyuic4 $< -o $@
mangle/ui/downloader_ui.py: mangle/dev/ui/downloader.ui
pyuic4 $< -o $@
locale:
LANGUAGE="ru_RU"
pylupdate4 ./mangle/*.py ./mangle/ui/*.py -ts ./mangle/mangle_${LANGUAGE}.ts
lrelease ./mangle/mangle_${LANGUAGE}.ts
clean:
rm ./mangle/ui/*
touch ./mangle/ui/__init__.py
deb:
python setup.py --command-packages=stdeb.command bdist_deb