/[gentoo-x86]/eclass/autotools-utils.eclass
Gentoo

Diff of /eclass/autotools-utils.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.67 Revision 1.68
1# Copyright 1999-2013 Gentoo Foundation 1# Copyright 1999-2013 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/autotools-utils.eclass,v 1.67 2013/05/03 09:20:56 mgorny Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/autotools-utils.eclass,v 1.68 2013/05/05 20:22:25 mgorny Exp $
4 4
5# @ECLASS: autotools-utils.eclass 5# @ECLASS: autotools-utils.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# Maciej Mrozowski <reavertm@gentoo.org> 7# Maciej Mrozowski <reavertm@gentoo.org>
8# Michał Górny <mgorny@gentoo.org> 8# Michał Górny <mgorny@gentoo.org>
544 debug-print-function ${FUNCNAME} "$@" 544 debug-print-function ${FUNCNAME} "$@"
545 545
546 _check_build_dir 546 _check_build_dir
547 pushd "${BUILD_DIR}" > /dev/null || die 547 pushd "${BUILD_DIR}" > /dev/null || die
548 548
549 # XXX: do we need to support other targets in autotools? 549 if make -n check &>/dev/null; then
550 emake check "${@}" || die 'emake check failed.' 550 emake check "${@}" || die 'emake check failed.'
551 elif make -n test &>/dev/null; then
552 emake test "${@}" || die 'emake test failed.'
553 fi
551 554
552 popd > /dev/null || die 555 popd > /dev/null || die
553} 556}

Legend:
Removed from v.1.67  
changed lines
  Added in v.1.68

  ViewVC Help
Powered by ViewVC 1.1.20