/[gentoo-x86]/eclass/base.eclass
Gentoo

Diff of /eclass/base.eclass

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

Revision 1.36 Revision 1.37
1# Copyright 1999-2008 Gentoo Foundation 1# Copyright 1999-2008 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/base.eclass,v 1.36 2009/01/17 16:56:55 mr_bones_ Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/base.eclass,v 1.37 2009/01/18 18:21:08 loki_val Exp $
4 4
5# @ECLASS: base.eclass 5# @ECLASS: base.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# Peter Alfredsen <loki_val@gentoo.org> 7# Peter Alfredsen <loki_val@gentoo.org>
8# 8#
164 while [ "$1" ]; do 164 while [ "$1" ]; do
165 165
166 case $1 in 166 case $1 in
167 configure) 167 configure)
168 debug-print-section configure 168 debug-print-section configure
169 if [[ -x ${ECONF_SOURCE:-.}/configure ]]
170 then
169 econf || die "died running econf, $FUNCNAME:configure" 171 econf || die "died running econf, $FUNCNAME:configure"
172 fi
170 ;; 173 ;;
171 make) 174 make)
172 debug-print-section make 175 debug-print-section make
176 if [ -f Makefile ] || [ -f GNUmakefile ] || [ -f makefile ]
177 then
173 emake || die "died running emake, $FUNCNAME:make" 178 emake || die "died running emake, $FUNCNAME:make"
179 fi
174 ;; 180 ;;
175 all) 181 all)
176 debug-print-section all 182 debug-print-section all
177 base_src_work configure make 183 base_src_work configure make
178 ;; 184 ;;

Legend:
Removed from v.1.36  
changed lines
  Added in v.1.37

  ViewVC Help
Powered by ViewVC 1.1.20