X-Git-Url: https://git.cworth.org/git?p=notmuch;a=blobdiff_plain;f=Makefile.local;fp=Makefile.local;h=39f36d5019f5c6d31ee29a67a6206032495febfc;hp=2257761727c7ecb1d4871d75e4efc5d0486c2028;hb=3f8b01a3ef9e50a772897c67e0146172b3849749;hpb=99a7aac8f2af6f3adb8f816be46ee33eb1d57515 diff --git a/Makefile.local b/Makefile.local index 22577617..39f36d50 100644 --- a/Makefile.local +++ b/Makefile.local @@ -64,7 +64,7 @@ update-versions: # are part of the release and need to take the version from the # version file). .PHONY: release -release: verify-source-tree-and-version +release: verify-source-tree-and-version sphinx-html $(MAKE) VERSION=$(VERSION) verify-newer $(MAKE) VERSION=$(VERSION) clean $(MAKE) VERSION=$(VERSION) test @@ -80,6 +80,7 @@ ifeq ($(REALLY_UPLOAD),yes) git push origin $(VERSION) $(DEB_TAG) release pristine-tar cd releases && scp $(TAR_FILE) $(SHA256_FILE) $(DETACHED_SIG_FILE) $(RELEASE_HOST):$(RELEASE_DIR) ssh $(RELEASE_HOST) "rm -f $(RELEASE_DIR)/LATEST-$(PACKAGE)-* ; ln -s $(TAR_FILE) $(RELEASE_DIR)/LATEST-$(TAR_FILE)" + rsync --verbose --delete --recursive doc/_build/html/ $(RELEASE_HOST):$(DOC_DIR) endif @echo "Please send a release announcement using $(PACKAGE)-$(VERSION).announce as a template."