-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
37 lines (29 loc) · 827 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
36
PYINST=../pyinstaller-2.0
SHELL := /bin/bash
none:
@echo build options:
@echo piof - pyinstaller --onefile
@echo piod - pyinstaller --onedir
@echo cx - cxfreeze
@echo bb - bbfreeze
@echo piupdate - update pyinstaller from git repo
piof:
rm -rf build pydist/pylans.exe
source /home/bjp/env-pylans.sh ;\
wine python ${PYINST}/pyinstaller.py *onefile.spec
piod:
rm -rf build pidist/pylans pidist/pylans.7z
source /home/bjp/env-pylans.sh ;\
wine python ${PYINST}/pyinstaller.py *onedir.spec
cd pidist; 7z a pylans.7z pylans
cx:
rm -rf build cxdist
source /home/bjp/env-pylans.sh ;\
wine python cxfsetup.py build
mv build/exe.win32-2.7 cxdist
bb:
rm -rf bbdist
source /home/bjp/env-pylans.sh ;\
wine python bbsetup.py
piupdate:
pushd /home/bjp/download/pyinstaller; git pull