2014-08-09 10:59:12 +00:00
|
|
|
# watchman makefile
|
|
|
|
VERSION=1.6.9
|
|
|
|
|
|
|
|
# Please modify config.mk and not this
|
|
|
|
sinclude config.mk
|
|
|
|
|
|
|
|
.PHONY: clean install uninstall all
|
|
|
|
|
|
|
|
build: rc
|
|
|
|
|
|
|
|
all: build
|
|
|
|
|
|
|
|
rc: rc.in
|
|
|
|
sed -r \
|
|
|
|
-e 's%@ETC@%$(ETC)%' \
|
|
|
|
rc.in > rc
|
|
|
|
|
|
|
|
chmod 750 $@
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm rc
|
|
|
|
|
|
|
|
install: build
|
|
|
|
install -dm755 $(BINDIR)
|
|
|
|
install -dm755 $(ETCDIR)
|
|
|
|
|
|
|
|
install -m750 rc $(BINDIR)/rc
|
|
|
|
install -m644 rc.conf $(ETCDIR)/rc.conf
|
|
|
|
|
2014-10-18 13:56:51 +00:00
|
|
|
install -m755 tools/killall5 $(BINDIR)/killall5
|
|
|
|
|
2014-08-09 10:59:12 +00:00
|
|
|
uninstall:
|
|
|
|
rm $(BINDIR)/rc
|