Add dependency to 'deploy*' targets on 'deploy-check' target.
--- a/Makefile Sun Jan 15 14:48:46 2012 +0200
+++ b/Makefile Sun Jan 15 14:50:25 2012 +0200
@@ -164,7 +164,7 @@
# Will be accessed via http://$(pkgname).sourceforge.net
.PHONY: deploy2sf-doc
-deploy2sf-doc: $(HTML_FILES)
+deploy2sf-doc: deploy-check $(HTML_FILES)
( echo 'cd htdocs'; \
for f in $(HTML_FILES); do \
echo "put $$f"; \
@@ -174,7 +174,7 @@
) | sftp -b - $(SF_USER),$(pkgname)@web.sourceforge.net
.PHONY: deploy2sf-release
-deploy2sf-release: $(DIST_TARBALLS) $(DISTSRC_TARBALLS)
+deploy2sf-release: deploy-check $(DIST_TARBALLS) $(DISTSRC_TARBALLS)
( echo 'cd /home/frs/project/g/ga/gadict'; \
echo "put CHANGES.rst"; \
echo "chmod 644 CHANGES.rst"; \