blob: c36ea82b01b6031803f75853dd43d6dc4af3e1ba (
plain)
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
36
37
38
39
40
41
42
43
44
45
46
47
48
|
#! /bin/sh
error() {
echo "$1"
exit 1
}
# set -x
notangle ./configure.ac.pamphlet > ./tmp-configure.ac \
|| error "could not extract configure.ac from pamphlet file"
config/move-if-change tmp-configure.ac configure.ac
autoheader || error "could not re-generate config/axiom-c-macros.h"
autoconf || error "could not re-generate configure"
## subdirectories that contain Makefile pamphlets of interest
SUBDIRS=" . \
src \
src/lib \
src/lisp \
src/boot \
src/interp \
src/share \
src/algebra \
src/etc \
src/clef \
src/doc \
src/graph \
src/graph/Gdraws \
src/graph/view2D \
src/graph/view3D \
src/graph/viewAlone \
src/graph/viewman \
src/sman \
src/hyper \
src/input \
src/booklets \
"
for d in $SUBDIRS; do
notangle -t8 $d/Makefile.pamphlet > $d/tmp-Makefile.in \
|| error "could not extract $d/Makefile.in from pamphlet file"
config/move-if-change $d/tmp-Makefile.in $d/Makefile.in
done
# set +x
|