aboutsummaryrefslogtreecommitdiffstats
path: root/os/linux/Makefile
diff options
context:
space:
mode:
authorRay Hogenson <rayhogenson@gmail.com>2012-01-14 19:09:16 -0900
committerRay Hogenson <rayhogenson@gmail.com>2012-01-14 19:09:16 -0900
commit95cce1be8aac074afd8943c6a96b89be58929456 (patch)
tree8b50557db4eca7ba98dd4e94530152f28adf5dda /os/linux/Makefile
parentad20d0d247e91431e2e0f1cf5a3794300ff04a26 (diff)
downloadyetihack-95cce1be8aac074afd8943c6a96b89be58929456.tar.zst
Fixed all makefiles
Diffstat (limited to 'os/linux/Makefile')
-rw-r--r--os/linux/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/os/linux/Makefile b/os/linux/Makefile
index 8feeb50..44de839 100644
--- a/os/linux/Makefile
+++ b/os/linux/Makefile
@@ -3,11 +3,12 @@ yetihack:
package:
make clean
- zip package/yetihack-source.zip ../YetiHack
+ zip package/yetihack-source.zip `pwd`
make yetihack
strip src/yetihack
sudo chown root:root src/yetihack
- ln src/yetihack os/debian/deb/usr/bin/
+ -sudo rm os/debian/deb/usr/bin/yetihack
+ sudo ln src/yetihack os/debian/deb/usr/bin/
dpkg-deb --build os/debian/deb package/yetihack.deb
cd package && sudo alien -r yetihack.deb
zip package/yetihack.zip src/yetihack
@@ -18,6 +19,6 @@ install: yetihack
clean:
-rm src/*.o
-rm src/yetihack
- -rm os/package/yetihack.deb
- -rm os/package/*.rpm
+ -rm package/*
+ -sudo rm os/debian/deb/usr/bin/yetihack