--- a/Makefile Wed Jun 01 20:28:27 2016 +0300
+++ b/Makefile Wed Jun 01 20:31:17 2016 +0300
@@ -187,7 +187,7 @@
DEFUN_REL_DIR ?= /srv/www/gadict/download
.PHONY: deploy2defun
-deploy2defun: deploy2defun-src deploy2defun-www deploy2defun-dist
+deploy2defun: deploy2defun-www deploy2defun-dist deploy2defun-src
.PHONY: deploy2defun-src
deploy2defun-src:
@@ -226,7 +226,7 @@
# Next time any action fully automated.
.PHONY: deploy2sf
-deploy2sf: deploy2sf-src deploy2sf-www deploy2sf-dist deploy2sf-voa
+deploy2sf: deploy2sf-www deploy2sf-dist deploy2sf-voa deploy2sf-src
.PHONY: deploy2sf-src
deploy2sf-src:
@@ -255,13 +255,14 @@
.PHONY: deploy2sf-dist
deploy2sf-dist: $(DISTREL_TARBALLS) $(DISTSRC_TARBALLS)
( echo 'cd /home/frs/project/$(shell v=$(pkgname); echo $${v:0:1}/$${v:0:2})/$(pkgname)'; \
-echo "put README.rst"; \
+echo "put www/README.rst"; \
echo "chmod 644 README.rst"; \
echo "-mkdir v$(vmajor).$(vminor)"; \
echo "cd v$(vmajor).$(vminor)"; \
for f in $(DISTREL_TARBALLS) $(DISTSRC_TARBALLS); do \
- echo "put $$f"; \
- echo "chmod 644 $$f"; \
+ n=$${f##*/}; \
+ echo "put $$f $$n"; \
+ echo "chmod 644 $$n"; \
done; \
echo 'quit'; \
) | sftp -b - $(SF_USER),$(pkgname)@frs.sourceforge.net