svn commit: r396576 - in head/science/cdf: . files

Jan Beich jbeich at FreeBSD.org
Thu Sep 10 18:30:23 UTC 2015


Alexey Dokuchaev <danfe at 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!  


More information about the svn-ports-head mailing list