From 73e994204c3111f98bb16cabaaea417bb40b28da Mon Sep 17 00:00:00 2001 From: brarcher Date: Tue, 17 Dec 2013 16:07:00 +0000 Subject: [PATCH] separate releasevars into two tasks for version and username This way, other tasks can check for just one of these. git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@878 64e312b2-a51f-0410-8e61-82d0ca0eb02a --- Makefile.am | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 8513fb9..4f9db69 100644 --- a/Makefile.am +++ b/Makefile.am @@ -56,16 +56,21 @@ prereleasecheck: doc/check_html RELEASE_VERSION ?= unset SF_USERNAME ?= unset -releasevars: + +releaseversioncheck: @if [ "unset" = "${RELEASE_VERSION}" ]; then \ echo "set RELEASE_VERSION to something like 0.9.6 to prepare a release."; \ false; \ fi + +fsusernamecheck: @if [ "unset" = "${SF_USERNAME}" ]; then \ echo "set SF_USERNAME to your sourceforge username"; \ false; \ fi +releasevars: releaseversioncheck fsusernamecheck + .svnrelease: svn st -u | grep "Status against revision:" | awk '{ print $$4 }' > $@ -- 2.40.0