summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2010-12-03 09:58:37 +0000
committerJay Freeman (saurik) <saurik@saurik.com>2010-12-03 09:58:37 +0000
commit57ebf0d9e1617e5f5ec75fdde1d161a40569999b (patch)
tree71d9fe4420272e21bd90fa6ae17347f25d9818eb /makefile
parenta7cec9cfeb283f276f4e9b427a3187e9f94f9779 (diff)
Move to git-oriented build environment.
Diffstat (limited to 'makefile')
-rw-r--r--makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/makefile b/makefile
index 7e6f0b9..08d8b37 100644
--- a/makefile
+++ b/makefile
@@ -12,10 +12,12 @@ clean:
ldid -S $@
package: all
- rm -rf package
- mkdir -p package/usr/bin
- cp -a $(uikittools) package/usr/bin
- mkdir -p package/DEBIAN
- cp -a control package/DEBIAN
- rpl '%S' "$$(du -ks package | cut -d $$'\t' -f 1)" package/DEBIAN/control
- dpkg-deb -b package uikittools_$(shell grep ^Version: control | cut -d ' ' -f 2)_iphoneos-arm.deb
+ rm -rf _
+ mkdir -p _/usr/bin
+ cp -a $(uikittools) _/usr/bin
+ mkdir -p _/DEBIAN
+ ./control.sh _ >_/DEBIAN/control
+ mkdir -p debs
+ ln -sf debs/uikittools_$$(./version.sh)_iphoneos-arm.deb uikittools.deb
+ dpkg-deb -b _ uikittools.deb
+ readlink uikittools.deb