warren/Makefile

29 lines
581 B
Makefile
Raw Normal View History

2014-12-30 16:41:40 +00:00
all: warren warrend
warren: cmd/warren/warren
warrend: cmd/warrend/warrend
cmd/warren/warren: cmd/warren/*.go
cd cmd/warren && go build && ./warren build
cmd/warrend/warrend: cmd/warren/warren cmd/warrend/*.go
cd cmd/warrend && ./../warren/warren build
clean:
rm -f cmd/warren/warren cmd/warrend/warrend
install:
cp cmd/warren/warren /usr/bin
cp cmd/warrend/warrend /usr/bin
2015-02-14 19:42:02 +00:00
mkdir -p /var/run/warrend
cp -n cmd/warrend/etc/warrend.json /etc
cp cmd/warrend/etc/init/warrend.conf /etc/init
2014-12-30 16:41:40 +00:00
uninstall:
rm /usr/bin/warren
rm /usr/bin/warrend
rmdir /var/run/warrend