summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStef Walter <stefw@collabora.co.uk>2011-10-21 16:16:46 +0200
committerStef Walter <stefw@collabora.co.uk>2011-10-21 16:16:46 +0200
commit4d7afff20d11a931846298a6e5be40c43a1dfbb5 (patch)
tree1f02937cb72cb129143bdeb56515c98b904c1496
parentea2f0d5ee72541f65976b0c398c2b1ac08c0817a (diff)
Add new make file bits for freshmeat upload
-rw-r--r--Makefile.am12
-rw-r--r--freshmeat.rel2
2 files changed, 9 insertions, 5 deletions
diff --git a/Makefile.am b/Makefile.am
index 7aa2713..a003a8f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -19,10 +19,6 @@ dist-hook:
else \
echo A git clone is required to generate a ChangeLog >&2; \
fi
- @if test -f $(srcdir)/$(FRESHMEAT); then \
- grep -qF "$(PACKAGE_VERSION)" $(srcdir)/$(FRESHMEAT) || \
- ( echo "$(FRESHMEAT) release not updated" >&2; exit 1 ); \
- fi
upload-release: $(DIST_ARCHIVES)
gpg --detach-sign --local-user $(SIGNER) $(DIST_ARCHIVES)
@@ -30,3 +26,11 @@ upload-release: $(DIST_ARCHIVES)
@echo
@echo "# Remember to update $(UPLOAD)/index.html"
+upload-freshmeat:
+ @if test -f $(srcdir)/$(FRESHMEAT); then \
+ grep -qF "$(PACKAGE_VERSION)" $(srcdir)/$(FRESHMEAT) || \
+ ( echo "$(FRESHMEAT) release not updated" >&2; exit 1 ); \
+ fi
+ freshmeat-submit < $(FRESHMEAT)
+
+release: upload-release upload-freshmeat
diff --git a/freshmeat.rel b/freshmeat.rel
index cbc6a24..fbd5d61 100644
--- a/freshmeat.rel
+++ b/freshmeat.rel
@@ -3,7 +3,7 @@ Version: 1.10
Release-Focus: Minor bugfixes
Hide: N
Home-Page-URL: http://thewalter.net/stef/software/proxsmtp/
-Gzipped-Tar-URL: http://thewalter.net/stef/software/proxsmtp/proxsmtp-1.10.tar.gz
+Gzipped-Tar-URL: http://thewalter.net/stef/software/proxsmtp/proxsmtp-${version}.tar.gz
Changelog-URL: http://thewalter.net/stef/software/proxsmtp/NEWS
Fix bugs related to forking and waiting for filtering processes.