diff options
author | Tomi Ollila <tomi.ollila@iki.fi> | 2011-12-05 13:39:32 +0200 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2011-12-06 09:37:45 -0400 |
commit | 2551c7013126964f5403ab8933e6f3ef524d1cb1 (patch) | |
tree | 3ea04542d6f2bcf9bab13d0001248cf73be46340 | |
parent | fc622d7e060ea7f045e9be76b5579a9597b22ccd (diff) |
make release: remove LATEST-$(PACKAGE)-*
The tar file of particular package (notmuch in this case) is named
as $(PACKAGE)-$(VERSION).tar.gz. Therefore the best way to remove
previous link to LATEST is to remove all files beginning with
LATEST-$(PACKAGE)- and not relying how $(VERSION) string is constructed.
-rw-r--r-- | Makefile.local | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.local b/Makefile.local index b4faada4..d699463b 100644 --- a/Makefile.local +++ b/Makefile.local @@ -122,7 +122,7 @@ release: verify-source-tree-and-version ifeq ($(REALLY_UPLOAD),yes) git push origin $(VERSION) cd releases && scp $(TAR_FILE) $(SHA1_FILE) $(GPG_FILE) $(RELEASE_HOST):$(RELEASE_DIR) - ssh $(RELEASE_HOST) "rm -f $(RELEASE_DIR)/LATEST-$(PACKAGE)-[0-9]* ; ln -s $(TAR_FILE) $(RELEASE_DIR)/LATEST-$(TAR_FILE)" + ssh $(RELEASE_HOST) "rm -f $(RELEASE_DIR)/LATEST-$(PACKAGE)-* ; ln -s $(TAR_FILE) $(RELEASE_DIR)/LATEST-$(TAR_FILE)" endif @echo "Please send a release announcement using $(PACKAGE)-$(VERSION).announce as a template." |