From: David Zeuthen Date: Tue, 24 Apr 2012 16:39:27 +0000 (-0400) Subject: Add Makefile rules for signing and publishing releases and docs X-Git-Tag: 0.105~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a7e4674b9a30e28d1fe238db735c37b52e3af72d;p=platform%2Fupstream%2Fpolkit.git Add Makefile rules for signing and publishing releases and docs Also mention in README how the authenticity of releases can be verified. Signed-off-by: David Zeuthen --- diff --git a/Makefile.am b/Makefile.am index 70d072c..01f0a4b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -11,5 +11,17 @@ EXTRA_DIST = \ # xsltproc barfs on 'make distcheck'; disable for now DISTCHECK_CONFIGURE_FLAGS=--disable-man-pages --disable-gtk-doc --disable-introspection +sign : dist + gpg --armor --detach-sign --output polkit-$(VERSION).tar.gz.sign polkit-$(VERSION).tar.gz + +publish : sign + scp polkit-$(VERSION).tar.gz polkit-$(VERSION).tar.gz.sign "david@people.freedesktop.org:/srv/www.freedesktop.org/www/software/polkit/releases/" + +publish-docs : + gtkdoc-rebase --html-dir docs/polkit/html --online + ssh "david@people.freedesktop.org" "mkdir -p /srv/www.freedesktop.org/www/software/polkit/docs/$(VERSION)" + scp docs/polkit/html/* "david@people.freedesktop.org:/srv/www.freedesktop.org/www/software/polkit/docs/$(VERSION)" + ssh "david@people.freedesktop.org" "rm -f /srv/www.freedesktop.org/www/software/polkit/docs/latest; ln -s $(VERSION) /srv/www.freedesktop.org/www/software/polkit/docs/latest" + clean-local : rm -f *~ diff --git a/README b/README index 1fd906b..b075162 100644 --- a/README +++ b/README @@ -1,3 +1,27 @@ -PolicyKit is a toolkit for defining and handling authorizations. It -is used for allowing unprivileged processes to speak to privileged +OVERVIEW +======== + +polkit is a toolkit for defining and handling authorizations. It is +used for allowing unprivileged processes to speak to privileged processes. + +RELEASES +======== + +Releases of polkit are available in compressed tarballs from + + http://www.freedesktop.org/software/polkit/releases/ + +To verify the authenticity of the compressed tarball, use this command + + $ gpg --verify polkit-$(VERSION).tar.gz.sign polkit-$(VERSION).tar.gz + gpg: Signature made Sat 10 Mar 2012 03:00:30 PM EST using RSA key ID 3418A891 + gpg: Good signature from "David Zeuthen " + gpg: aka "[jpeg image of size 5237]" + +BUGS and DEVELOPMENT +==================== + +Please report bugs via the freedesktop.org bugzilla at + + https://bugs.freedesktop.org/enter_bug.cgi?product=PolicyKit