dvbackup/Makefile

14 lines
257 B
Makefile

all: shellcheck test
shellcheck: shellcheck.log
test:
./test/test.sh
install: dvbackup shellcheck test
install -Dm 0755 --owner=root --group=root $< /usr/local/bin/
shellcheck.log: dvbackup
shellcheck $< | tee $@
.PHONY: all shellcheck test install