aboutsummaryrefslogtreecommitdiffstats
path: root/YetiHack/Makefile
blob: 3bb83950821067fb79f787a0e4316521ebfe7b1c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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