1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
PACKAGE_NAME=git-repo PACKAGE_VERSION=0.1+git-$(shell git describe --always HEAD) PREFIX=/usr/local/bin include Makefile.package work/data: work work/data/$(PREFIX) work/data/$(PREFIX): mkdir -p "$@" cp git-repo "$@" .PHONY: shellcheck shellcheck: shellcheck --shell=bash --color=never git-repo .PHONY: test test: test/run.sh