Mercurial > octave-nkf
annotate src/DLD-FUNCTIONS/config-module.sh @ 12312:b10ea6efdc58 release-3-4-x ss-3-3-91
version is now 3.3.91
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 31 Jan 2011 08:36:58 -0500 |
parents | 1ed7cc046c52 |
children | b67c2d580a25 |
rev | line source |
---|---|
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
1 #! /bin/sh |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
2 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
3 set -e |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
4 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
5 : ${AWK=awk} |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
6 |
10376
1ed7cc046c52
Makefile.am rules for rebuilding .mk files
John W. Eaton <jwe@octave.org>
parents:
9794
diff
changeset
|
7 if [ $# -eq 1 ]; then |
1ed7cc046c52
Makefile.am rules for rebuilding .mk files
John W. Eaton <jwe@octave.org>
parents:
9794
diff
changeset
|
8 top_srcdir="$1"; |
1ed7cc046c52
Makefile.am rules for rebuilding .mk files
John W. Eaton <jwe@octave.org>
parents:
9794
diff
changeset
|
9 else |
1ed7cc046c52
Makefile.am rules for rebuilding .mk files
John W. Eaton <jwe@octave.org>
parents:
9794
diff
changeset
|
10 top_srcdir="../.." |
1ed7cc046c52
Makefile.am rules for rebuilding .mk files
John W. Eaton <jwe@octave.org>
parents:
9794
diff
changeset
|
11 fi |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
12 |
10376
1ed7cc046c52
Makefile.am rules for rebuilding .mk files
John W. Eaton <jwe@octave.org>
parents:
9794
diff
changeset
|
13 dld_dir=$top_srcdir/src/DLD-FUNCTIONS |
1ed7cc046c52
Makefile.am rules for rebuilding .mk files
John W. Eaton <jwe@octave.org>
parents:
9794
diff
changeset
|
14 |
1ed7cc046c52
Makefile.am rules for rebuilding .mk files
John W. Eaton <jwe@octave.org>
parents:
9794
diff
changeset
|
15 $AWK -f $dld_dir/config-module.awk < $dld_dir/module-files > $dld_dir/module.mk-t |
1ed7cc046c52
Makefile.am rules for rebuilding .mk files
John W. Eaton <jwe@octave.org>
parents:
9794
diff
changeset
|
16 |
1ed7cc046c52
Makefile.am rules for rebuilding .mk files
John W. Eaton <jwe@octave.org>
parents:
9794
diff
changeset
|
17 $top_srcdir/move-if-change $dld_dir/module.mk-t $dld_dir/module.mk |