Add 'deploy-check' target to check source sanity before release.
--- a/Makefile Sun Jan 15 14:40:48 2012 +0200
+++ b/Makefile Sun Jan 15 14:48:46 2012 +0200
@@ -193,6 +193,17 @@
deploy2sf-src:
hg push ssh://gavenkoa@hg.code.sf.net/p/$(pkgname)/code
+.PHONY: deploy-check
+deploy-check:
+ case ${visclean} in \
+ no) echo "Local changes found. Build stop."; \
+ exit 1;; \
+ esac
+ case $(vatrelease) in \
+ no) echo "We are not at release. Build stop."; \
+ exit 1;; \
+ esac
+
################################################################
# Dist targets.