File: Bootstrap

package info (click to toggle)
tinyos-tools 1.4.2-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 3,140 kB
  • ctags: 1,626
  • sloc: cpp: 10,398; sh: 1,229; python: 1,200; ansic: 562; makefile: 305; xml: 24
file content (30 lines) | stat: -rwxr-xr-x 609 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/sh

set -e

srcdir=src

ACLOCAL="aclocal"
AUTOMAKE="automake"
AUTOCONF="autoconf"
AUTOHEADER="autoheader"

set -x
(
    $ACLOCAL
    $AUTOCONF
    [ -d config-aux ] || mkdir config-aux
    $AUTOMAKE -a -c
)

set -x
(
    # If you include this above, errors regarding $(EXEEXT) in 
    # tinyos/java/env/Makefile.am cause the block to be exited
    # before running this command below. I was able to address
    # the $(EXEEXT) errors for windows, but it still died in
    # redhat 9 so I'm moving this call to below.
    (cd platforms/mica/uisp; ./bootstrap)
)

rm -f config.cache $srcdir/config.cache