Mercurial > hg > octave-nkf
annotate autogen.sh @ 12384:59efc7da9f7b release-3-4-x
PermMatrix.cc (operator*): fix mixed row/column case
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sun, 06 Feb 2011 05:50:49 -0500 |
parents | f1ca3ae7ff7c |
children | 83606de30dae |
rev | line source |
---|---|
3298 | 1 #! /bin/sh |
2 # autogen.sh | |
3 # Run this to generate all the initial makefiles, etc. | |
4 | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
9645
diff
changeset
|
5 set -e |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
9645
diff
changeset
|
6 |
12238
f1ca3ae7ff7c
autogen.sh: check for required files instead of having automake do it
John W. Eaton <jwe@octave.org>
parents:
9946
diff
changeset
|
7 ## Use --foreign since we auto-generate the AUTHORS file and the default |
f1ca3ae7ff7c
autogen.sh: check for required files instead of having automake do it
John W. Eaton <jwe@octave.org>
parents:
9946
diff
changeset
|
8 ## --gnu strictness level doesn't like it if the AUTHORS file is missing. |
f1ca3ae7ff7c
autogen.sh: check for required files instead of having automake do it
John W. Eaton <jwe@octave.org>
parents:
9946
diff
changeset
|
9 |
f1ca3ae7ff7c
autogen.sh: check for required files instead of having automake do it
John W. Eaton <jwe@octave.org>
parents:
9946
diff
changeset
|
10 AUTOMAKE="automake --foreign --warnings=no-portability" |
f1ca3ae7ff7c
autogen.sh: check for required files instead of having automake do it
John W. Eaton <jwe@octave.org>
parents:
9946
diff
changeset
|
11 export AUTOMAKE |
f1ca3ae7ff7c
autogen.sh: check for required files instead of having automake do it
John W. Eaton <jwe@octave.org>
parents:
9946
diff
changeset
|
12 |
f1ca3ae7ff7c
autogen.sh: check for required files instead of having automake do it
John W. Eaton <jwe@octave.org>
parents:
9946
diff
changeset
|
13 ## Check for files that automake --gnu would normally look for, except |
f1ca3ae7ff7c
autogen.sh: check for required files instead of having automake do it
John W. Eaton <jwe@octave.org>
parents:
9946
diff
changeset
|
14 ## AUTHORS, which we autogenerate from the documentation files along with |
f1ca3ae7ff7c
autogen.sh: check for required files instead of having automake do it
John W. Eaton <jwe@octave.org>
parents:
9946
diff
changeset
|
15 ## building the rest of Octave, and INSTALL, which is linked from |
f1ca3ae7ff7c
autogen.sh: check for required files instead of having automake do it
John W. Eaton <jwe@octave.org>
parents:
9946
diff
changeset
|
16 ## gnulib/doc/INSTALL by the bootstrap script. |
f1ca3ae7ff7c
autogen.sh: check for required files instead of having automake do it
John W. Eaton <jwe@octave.org>
parents:
9946
diff
changeset
|
17 |
f1ca3ae7ff7c
autogen.sh: check for required files instead of having automake do it
John W. Eaton <jwe@octave.org>
parents:
9946
diff
changeset
|
18 for f in NEWS README ChangeLog COPYING; do |
f1ca3ae7ff7c
autogen.sh: check for required files instead of having automake do it
John W. Eaton <jwe@octave.org>
parents:
9946
diff
changeset
|
19 if ! test -f $f; then |
f1ca3ae7ff7c
autogen.sh: check for required files instead of having automake do it
John W. Eaton <jwe@octave.org>
parents:
9946
diff
changeset
|
20 echo "required file $f is missing" 2>&1 |
f1ca3ae7ff7c
autogen.sh: check for required files instead of having automake do it
John W. Eaton <jwe@octave.org>
parents:
9946
diff
changeset
|
21 exit 1 |
f1ca3ae7ff7c
autogen.sh: check for required files instead of having automake do it
John W. Eaton <jwe@octave.org>
parents:
9946
diff
changeset
|
22 fi |
f1ca3ae7ff7c
autogen.sh: check for required files instead of having automake do it
John W. Eaton <jwe@octave.org>
parents:
9946
diff
changeset
|
23 done |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
9645
diff
changeset
|
24 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
9645
diff
changeset
|
25 echo "generating source lists for liboctave/Makefile..." |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
9645
diff
changeset
|
26 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
9645
diff
changeset
|
27 (cd liboctave; ./config-ops.sh) |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
9645
diff
changeset
|
28 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
9645
diff
changeset
|
29 echo "generating doc/interpreter/images.mk..." |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
9645
diff
changeset
|
30 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
9645
diff
changeset
|
31 (cd doc/interpreter; ./config-images.sh) |
3298 | 32 |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
9645
diff
changeset
|
33 echo "generating src/DLD-FUNCTIONS/module.mk..." |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
9645
diff
changeset
|
34 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
9645
diff
changeset
|
35 (cd src/DLD-FUNCTIONS; ./config-module.sh) |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
9645
diff
changeset
|
36 |
9946 | 37 echo "bootstrapping..." |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
9645
diff
changeset
|
38 |
9946 | 39 ./bootstrap "$@" |