From: simon75j Date: Mon, 17 Aug 2009 16:29:56 +0000 (+0000) Subject: Generalize release target. X-Git-Tag: yubikey-personalisation_0.97-1~42 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=269699065f2ac06fc5b9e6ef2aa0e396da939799;p=yubikey-personalization.old Generalize release target. git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@135 b62f149e-849f-11dd-9899-c7ba65f7c4c7 --- diff --git a/Makefile.am b/Makefile.am index a057897..d1555f3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -71,8 +71,6 @@ EXTRA_DIST = doc/MakeRelease.wiki doc/ReadMe.wiki doc/UsbhidIssue.wiki # Release PROJECT = yubikey-personalization -USER = simon75j -KEYID = B9156397 ChangeLog: svn2cl @@ -82,6 +80,13 @@ check-doc-dist: diff -ur Makefile.am tmp || (echo 'error: please update Makefile.am'; exit 1) release: + @if test -z "$(USER)" || test -z "$(KEYID)"; then \ + echo "Try this instead:"; \ + echo " make release USER=[GOOGLEUSERNAME] KEYID=[PGPKEYID]"; \ + echo "For example:"; \ + echo " make release USER=simon75j KEYID=B9156397"; \ + exit 1; \ + fi rm -f ChangeLog make check-doc-dist ChangeLog distcheck gpg --detach-sign --default-key $(KEYID) $(PACKAGE)-$(VERSION).tar.gz