Add Makefile rules for signing and publishing releases and docs
authorDavid Zeuthen <davidz@redhat.com>
Tue, 24 Apr 2012 16:39:27 +0000 (12:39 -0400)
committerDavid Zeuthen <davidz@redhat.com>
Tue, 24 Apr 2012 16:39:27 +0000 (12:39 -0400)
Also mention in README how the authenticity of releases can be
verified.

Signed-off-by: David Zeuthen <davidz@redhat.com>
Makefile.am
README

index 70d072c..01f0a4b 100644 (file)
@@ -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 (file)
--- 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 <zeuthen@gmail.com>"
+ 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