30 lines
432 B
Makefile
30 lines
432 B
Makefile
|
# spark-rc tools makefile
|
||
|
|
||
|
# Please modify config.mk and not this
|
||
|
sinclude ../config.mk
|
||
|
|
||
|
.PHONY: clean install uninstall all
|
||
|
|
||
|
build: killall5
|
||
|
|
||
|
all: build
|
||
|
|
||
|
killall5: killall5.in
|
||
|
sed -r \
|
||
|
-e 's%@BASH_PATH@%$(BASH_PATH)%' \
|
||
|
killall5.in > killall5
|
||
|
|
||
|
chmod 750 $@
|
||
|
|
||
|
clean:
|
||
|
rm killall5
|
||
|
|
||
|
install: build
|
||
|
install -dm755 $(BINDIR)
|
||
|
install -dm755 $(ETCDIR)
|
||
|
|
||
|
install -m750 killall5 $(BINDIR)/killall5
|
||
|
|
||
|
uninstall:
|
||
|
rm $(BINDIR)/killall5
|