Add dependency to 'deploy*' targets on 'deploy-check' target.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sun, 15 Jan 2012 14:50:25 +0200
changeset 125 63b391bee058
parent 124 7d9f38580ed9
child 126 ce55b1ae8557
Add dependency to 'deploy*' targets on 'deploy-check' target.
Makefile
--- 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"; \