Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Sep 2015 17:51:45 +0200
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Alexey Dokuchaev <danfe@FreeBSD.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r396576 - in head/science/cdf: . files
Message-ID:  <fv2m-nuge-wny@FreeBSD.org>
In-Reply-To: <201509101521.t8AFLDQE048663@repo.freebsd.org> (Alexey Dokuchaev's message of "Thu, 10 Sep 2015 15:21:13 %2B0000 (UTC)")
References:  <201509101521.t8AFLDQE048663@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Alexey Dokuchaev <danfe@FreeBSD.org> writes:

>   - Improve `regression-test' target: add dependency on `build', and get rid
>     of explicit cd'ing to ${BUILD_WRKSRC} by using -C switch of make(1)
[...]
> -regression-test:
> -	(cd ${BUILD_WRKSRC} ;	\
> -	${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} test)
> +regression-test: build
> +	@${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} \
> +		${MAKE_ARGS} test -C ${BUILD_WRKSRC}

It can be further simplified to

  regression-test: build
  	@${DO_MAKE_BUILD} test -C ${BUILD_WRKSRC}

-------------------------------------------------

ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features!  
15GB disk! No bandwidth quotas!
Commercial and Bulk Mail Options!  



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fv2m-nuge-wny>