Created
February 14, 2012 04:05
-
-
Save asv/1823466 to your computer and use it in GitHub Desktop.
git version file into makefile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
all:: | |
.PHONY: GIT-VERSION-FILE | |
GIT-VERSION-FILE: FORCE | |
@$(SHELL_PATH) ./GIT-VERSION-GEN | |
-include GIT-VERSION-FILE | |
all:: | |
@echo $(GIT_VERSION) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment