diff options
author | Stef Walter <stefw@collabora.co.uk> | 2011-10-21 16:16:46 +0200 |
---|---|---|
committer | Stef Walter <stefw@collabora.co.uk> | 2011-10-21 16:16:46 +0200 |
commit | 4d7afff20d11a931846298a6e5be40c43a1dfbb5 (patch) | |
tree | 1f02937cb72cb129143bdeb56515c98b904c1496 /Makefile.am | |
parent | ea2f0d5ee72541f65976b0c398c2b1ac08c0817a (diff) |
Add new make file bits for freshmeat upload
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 12 |
1 files changed, 8 insertions, 4 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 |