Release and deploy target should use fresh version info. Add alias to deploy sources.
--- a/Makefile Wed Sep 28 21:14:27 2016 +0300
+++ b/Makefile Wed Sep 28 21:20:04 2016 +0300
@@ -46,7 +46,7 @@
VER_FILE := VERSION
# Prevent making distribution with wrong version.
-ifneq '' '$(filter deploy% dist%,$(MAKECMDGOALS))'
+ifneq '' '$(filter deploy% release% dist%,$(MAKECMDGOALS))'
ifeq '' '$(MAKE_RESTARTS)'
$(shell rm -f $(VER_FILE))
endif
@@ -172,8 +172,8 @@
.PHONY: deploy
deploy: deploy2defun deploy2sf
-.PHONY: deploy-hg
-deploy-hg: deploy2defun-hg deploy2sf-hg
+.PHONY: deploy-src deploy-hg
+deploy-src deploy-hg: deploy2defun-hg deploy2sf-hg
.PHONY: release
release: release2defun release2sf