6 VERSION := $(shell $(CAT) VERSION)
8 VERSIONGITREF := $(shell $(GIT) show-ref -s --tags $(VERSION))
10 MASTERGITREF := $(shell $(GIT) show-ref -s refs/heads/master)
21 if test `$(GIT) status -s | $(WC) -l` -gt 0; then $(ECHO) "Error: commit, first."; exit 1; fi; if test "$(VERSIONGITREF)" != "$(MASTERGITREF)"; then $(GIT) tag $(VERSION); fi