File: bootstrap

package info (click to toggle)
avr-libc 1%3A2.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 147,748 kB
  • sloc: ansic: 813,422; asm: 8,821; sh: 2,194; cpp: 1,483; python: 1,437; makefile: 659; perl: 509; pascal: 500
file content (35 lines) | stat: -rwxr-xr-x 793 bytes parent folder | download
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
31
32
33
34
35
#! /bin/sh
#
# $Id$
#
# bootstrap script to build all the *.in files and configure script.
#

: ${AUTOHEADER="autoheader${AC_VER}"}
: ${AUTOCONF="autoconf${AC_VER}"}
: ${ACLOCAL="aclocal${AM_VER}"}
: ${AUTOMAKE="automake${AM_VER}"}

AUTOMAKE="${AUTOMAKE} --foreign --add-missing --copy"

export AUTOMAKE AUTOCONF ACLOCAL AUTOHEADER

# gen-avr-lib-tree.sh calls the Python interpreter on mlib-gen.py
# at the end.  Apparently, mlib-gen.py's shebang "#!/usr/bin/env python"
# does not work on all systems.  So use Autotools AM_PATH_PYTHON to
# determine how to call Python.
(cd devtools; ./configure) || exit 1

# to see what is executed
set -x

rm -rf avr/lib
rm -rf avr/devices
./devtools/gen-avr-lib-tree.sh || exit 1

rm -rf autom4te.cache

${ACLOCAL}
${AUTOHEADER}
${AUTOCONF}
${AUTOMAKE}