aboutsummaryrefslogtreecommitdiffstats
path: root/YetiHack/os/linux/Makefile
diff options
context:
space:
mode:
authorRay Hogenson <rayhogenson@gmail.com>2012-01-10 15:24:39 -0900
committerRay Hogenson <rayhogenson@gmail.com>2012-01-10 15:24:39 -0900
commitc1d1a4cfb55e87fb4db68980b3af9c31fde363a9 (patch)
tree2d0f92a791c1151a9683788b808dd6eaf4857c2f /YetiHack/os/linux/Makefile
parentae0551652fa132bb512638433189c1290933164e (diff)
parent4e87a290412cea63f548760de6f4a91b1d1ba352 (diff)
downloadyetihack-c1d1a4cfb55e87fb4db68980b3af9c31fde363a9.tar.zst
Merge branch 'master' of github.com:rayhogenson/YetiHack
Diffstat (limited to 'YetiHack/os/linux/Makefile')
-rw-r--r--YetiHack/os/linux/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/YetiHack/os/linux/Makefile b/YetiHack/os/linux/Makefile
new file mode 100644
index 0000000..0a95d72
--- /dev/null
+++ b/YetiHack/os/linux/Makefile
@@ -0,0 +1,22 @@
+yetihack:
+ cd src && make
+
+package:
+ make clean
+ zip package/yetihack-source.zip ../YetiHack
+ make yetihack
+ strip src/yetihack
+ sudo chown root:root src/yetihack
+ dpkg-deb --build os/debian/deb package/yetihack.deb
+ cd package && sudo alien -r yetihack.deb
+ zip package/yetihack.zip src/yetihack
+
+install: yetihack
+ cp src/yetihack /usr/local/bin/
+
+clean:
+ -rm src/*.o
+ -rm src/yetihack
+ -rm os/package/yetihack.deb
+ -rm os/package/*.rpm
+