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

Diff of /eclass/cmake-utils.eclass

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

Revision 1.24 Revision 1.25
1# Copyright 1999-2009 Gentoo Foundation 1# Copyright 1999-2009 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/cmake-utils.eclass,v 1.24 2009/04/10 20:24:56 scarabeus Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/cmake-utils.eclass,v 1.25 2009/04/11 19:44:43 scarabeus Exp $
4 4
5# @ECLASS: cmake-utils.eclass 5# @ECLASS: cmake-utils.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# kde@gentoo.org 7# kde@gentoo.org
8# 8#
317cmake-utils_src_make() { 317cmake-utils_src_make() {
318 debug-print-function ${FUNCNAME} "$@" 318 debug-print-function ${FUNCNAME} "$@"
319 319
320 _check_build_dir 320 _check_build_dir
321 pushd "${CMAKE_BUILD_DIR}" > /dev/null 321 pushd "${CMAKE_BUILD_DIR}" > /dev/null
322 # first check if Makefile exist otherwise die
323 [[ -e Makefile ]] || die "Makefile not found. Error during configure stage."
322 if [[ -n ${CMAKE_VERBOSE} ]]; then 324 if [[ -n ${CMAKE_VERBOSE} ]]; then
323 emake VERBOSE=1 "$@" || die "Make failed!" 325 emake VERBOSE=1 "$@" || die "Make failed!"
324 else 326 else
325 emake "$@" || die "Make failed!" 327 emake "$@" || die "Make failed!"
326 fi 328 fi

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25

  ViewVC Help
Powered by ViewVC 1.1.20