Contents of /branches/R11-unstable/include/mbuild.sminc
Parent Directory | Revision Log
Revision 9861 -
(show annotations)
(download)
Fri Jan 13 19:12:17 2012 UTC (12 years, 8 months ago) by niro
Original Path: branches/magellan-next/include/mbuild.sminc
File size: 557 byte(s)
Fri Jan 13 19:12:17 2012 UTC (12 years, 8 months ago) by niro
Original Path: branches/magellan-next/include/mbuild.sminc
File size: 557 byte(s)
-continue checks on failures
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_check() |
17 | { |
18 | cd ${SRCDIR} |
19 | mmake -k check || die |
20 | } |
21 | |
22 | mbuild_src_install() |
23 | { |
24 | cd ${SRCDIR} |
25 | mmake DESTDIR=${BINDIR} install || die |
26 | |
27 | local i |
28 | for i in ABOUT-NLS ANNOUNCE AUTHORS BUGS CHANGES \ |
29 | ChangeLog COPYING FAQ LICENSE NEWS README TODO |
30 | do |
31 | if [ -f ${SRCDIR}/${i} ] |
32 | then |
33 | minstalldocs ${i} || die |
34 | fi |
35 | done |
36 | } |
37 | |
38 | export_inherits mbuild src_prepare src_compile src_check src_install |