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

Diff of /eclass/gnustep-base.eclass

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

Revision 1.24 Revision 1.25
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 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/gnustep-base.eclass,v 1.24 2012/02/20 10:14:44 voyageur Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/gnustep-base.eclass,v 1.25 2012/05/29 08:05:05 phajdan.jr Exp $
4 4
5# @ECLASS: gnustep-base.eclass 5# @ECLASS: gnustep-base.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# GNUstep Herd <gnustep@gentoo.org> 7# GNUstep Herd <gnustep@gentoo.org>
8# @BLURB: Internal handling of GNUstep pacakges 8# @BLURB: Internal handling of GNUstep pacakges
191 die "no Makefile found" 191 die "no Makefile found"
192} 192}
193 193
194# Make and install docs using GNUstep Makefiles 194# Make and install docs using GNUstep Makefiles
195egnustep_doc() { 195egnustep_doc() {
196 if [[ -d ./Documentation ]] ; then 196 if [[ -d "${S}"/Documentation ]] ; then
197 # Check documentation presence 197 # Check documentation presence
198 cd "${S}"/Documentation 198 pushd "${S}"/Documentation || die
199 if [[ -f ./[mM]akefile || -f ./GNUmakefile ]] ; then 199 if [[ -f ./[mM]akefile || -f ./GNUmakefile ]] ; then
200 emake "${GS_ENV[@]}" all || die "doc make failed" 200 emake "${GS_ENV[@]}" all || die "doc make failed"
201 emake "${GS_ENV[@]}" install || die "doc install failed" 201 emake "${GS_ENV[@]}" install || die "doc install failed"
202 fi 202 fi
203 cd .. 203 popd || die
204 fi 204 fi
205} 205}
206 206
207egnustep_install_config() { 207egnustep_install_config() {
208 [[ $(type -t gnustep_config_script) != "function" ]] && return 0 208 [[ $(type -t gnustep_config_script) != "function" ]] && return 0

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

  ViewVC Help
Powered by ViewVC 1.1.20