Magellan Linux

Diff of /trunk/include/mbuild.sminc

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

trunk/core/include/mbuild.sminc revision 2 by niro, Fri Oct 10 13:29:42 2008 UTC trunk/include/mbuild.sminc revision 14373 by niro, Fri Dec 14 13:59:28 2012 UTC
# Line 1  Line 1 
1  # $Header: /magellan-cvs/smage/include/mbuild.sminc,v 1.6 2005/12/29 20:25:28 niro Exp $  # $Id$
2  # default magellan build  # default magellan build
3    
4  mbuild_src_prepare()  mbuild_src_prepare()
# Line 9  mbuild_src_prepare() Line 9  mbuild_src_prepare()
9  mbuild_src_compile()  mbuild_src_compile()
10  {  {
11   cd ${SRCDIR}   cd ${SRCDIR}
12   mconfigure || die   if [[ -x ./configure ]]
13     then
14     mconfigure || die
15     else
16     echo "mbuild: No configure found, skipping!"
17     fi
18   mmake || die   mmake || die
19  }  }
20    
21    mbuild_src_check()
22    {
23     cd ${SRCDIR}
24     mmake -j1 -k check || die
25    }
26    
27  mbuild_src_install()  mbuild_src_install()
28  {  {
29   cd ${SRCDIR}   cd ${SRCDIR}
30   make DESTDIR=${BINDIR} install || die   mmake DESTDIR=${BINDIR} install || die
31    
32   local i   local i
33   for i in ABOUT-NLS AUTHORS BUGS CHANGES ChangeLog COPYING \   for i in ABOUT-NLS ANNOUNCE AUTHORS BUGS CHANGES \
34   FAQ LICENSE NEWS README TODO   ChangeLog COPYING FAQ LICENSE NEWS README TODO
35   do   do
36   if [ -f ${SRCDIR}/${i} ]   if [ -f ${SRCDIR}/${i} ]
37   then   then
# Line 29  mbuild_src_install() Line 40  mbuild_src_install()
40   done   done
41  }  }
42    
43  export_inherits mbuild src_prepare src_compile src_install  export_inherits mbuild src_prepare src_compile src_check src_install

Legend:
Removed from v.2  
changed lines
  Added in v.14373