aboutsummaryrefslogtreecommitdiffstats
path: root/os/linux
diff options
context:
space:
mode:
Diffstat (limited to 'os/linux')
-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