2
MAKEDIR := $(shell pwd)
6
sed 's/%%REPO%%/ppa/' hooks/install.pkg > hooks/install
11
sed 's/%%REPO%%/unstable/' hooks/install.pkg > hooks/install
12
chmod +x hooks/install
14
dev: files/hockeypuck files/instroot.tar.gz files/debian.tar.gz
16
cp hooks/install.dev hooks/install
17
chmod +x hooks/install
20
go build -o $@ github.com/hockeypuck/hockeypuck/cmd/hockeypuck
22
files/instroot.tar.gz:
23
cd ../../../instroot; tar cvf $(MAKEDIR)/files/instroot.tar .
24
cd ../../../instroot-extra; tar rvf $(MAKEDIR)/files/instroot.tar .
25
gzip -9 files/instroot.tar
28
cd ../../../debian; tar cvf $(MAKEDIR)/files/debian.tar .
29
gzip -9 files/debian.tar
32
$(RM) files/hockeypuck files/instroot.tar.gz files/debian.tar.gz