aboutsummaryrefslogtreecommitdiffstats
path: root/YetiHack/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'YetiHack/Makefile')
-rw-r--r--YetiHack/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/YetiHack/Makefile b/YetiHack/Makefile
new file mode 100644
index 0000000..3bb8395
--- /dev/null
+++ b/YetiHack/Makefile
@@ -0,0 +1,25 @@
+yetihack:
+ cd src && make
+
+package:
+ make clean
+ zip package/yetihack-source.zip ../YetiHack
+ make yetihack
+ strip src/yetihack
+ sudo chown root:root src/yetihack
+ -rm os/debian/deb/usr/bin/yetihack
+ 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
+
+install: yetihack
+ cp src/yetihack /usr/local/bin/
+
+clean:
+ -rm src/*.o
+ -rm src/yetihack
+ -rm package/yetihack.deb
+ -rm package/*.rpm
+ -rm os/debian/deb/usr/bin/yetihack
+