Contents of /branches/magellan-next/include/mbuild.sminc
Parent Directory | Revision Log
Revision 6654 -
(show annotations)
(download)
Tue Sep 14 16:46:32 2010 UTC (14 years, 2 months ago) by niro
File size: 477 byte(s)
Tue Sep 14 16:46:32 2010 UTC (14 years, 2 months ago) by niro
File size: 477 byte(s)
imported from trunk
1 | # $Id$ |
2 | # default magellan build |
3 | |
4 | mbuild_src_prepare() |
5 | { |
6 | munpack ${SRCFILE} || die |
7 | } |
8 | |
9 | mbuild_src_compile() |
10 | { |
11 | cd ${SRCDIR} |
12 | mconfigure || die |
13 | mmake || die |
14 | } |
15 | |
16 | mbuild_src_install() |
17 | { |
18 | cd ${SRCDIR} |
19 | mmake DESTDIR=${BINDIR} install || die |
20 | |
21 | local i |
22 | for i in ABOUT-NLS AUTHORS BUGS CHANGES ChangeLog COPYING \ |
23 | FAQ LICENSE NEWS README TODO |
24 | do |
25 | if [ -f ${SRCDIR}/${i} ] |
26 | then |
27 | minstalldocs ${i} || die |
28 | fi |
29 | done |
30 | } |
31 | |
32 | export_inherits mbuild src_prepare src_compile src_install |