forked from michael-donat/tf-mapper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
32 lines (23 loc) · 814 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
all: osx package upload
osx: build-osx package-osx upload-osx
win: win-post package-win upload-win
build-osx:
python2.7 make/osx-setup.py py2app --dist-dir=dist/osx -bbuild/osx
win-pre:
cp -r ./* /Volumes/C/tf-mapper-build/
win-post:
mkdir -p dist/win
zip -r dist/win/MudMapper.zip /Volumes/C/tf-mapper-build/dist/win/MudMapper
package-osx:
mkdir -p dist/osx/dmg
'cp' -rf dist/osx/MudMapper.app dist/osx/dmg/
ln -s /Applications dist/osx/dmg/Applications
hdiutil create dist/osx/MudMapper.dmg -srcfolder dist/osx/dmg/ -ov
rm -f dist/osx/dmg/Applications
mv dist/osx/MudMapper.dmg dist/
package-win:
mv dist/win/MudMapper.zip dist/
upload-osx:
scp dist/MudMapper.dmg [email protected]:/home/thornag/public_html
upload-win:
scp dist/MudMapper.zip [email protected]:/home/thornag/public_html