dvbackup/Makefile

11 lines
219 B
Makefile

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