Add tarball signing to Makefile
authorDavid Woodhouse <David.Woodhouse@intel.com>
Tue, 8 Nov 2011 00:37:26 +0000 (00:37 +0000)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Tue, 8 Nov 2011 00:40:33 +0000 (00:40 +0000)
I managed to screw up the 3.13 signature doing it manually; the .asc file
contained a copy of the tarball data rather than being *just* the signature.

Add it to the Makefile and that should stop me screwing it up later.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Makefile.am

index 9d688bf..acbfcb0 100644 (file)
@@ -53,6 +53,11 @@ dist-hook: uncommitted-check
                echo "*** ERROR: Git checkout not at version v$(VERSION)"; exit 1; fi ; \
        fi
 
+sign-dist: dist
+       @for a in $(DIST_ARCHIVES); do \
+               gpg --default-key 67E2F359 --detach-sign -a $$a ; \
+       done
+
 tag: uncommitted-check
        @if git rev-parse --verify v$(VERSION) &> /dev/null; then \
                echo "*** ERROR: Version v$(VERSION) is already tagged"; exit 1; fi