2 # @(#)distrib 8.11 (Berkeley) 10/23/96
5 #make -f Makefile.in clean
6 #rm -f configure config.h.in
8 # Build autoconf structure.
9 echo "Running autoheader"
10 autoheader
2>&1 |
sed '/warning: AC_TRY_RUN called without default/d'
12 echo "Running autoconf"
13 autoconf
2>&1 |
sed '/warning: AC_TRY_RUN called without default/d'
14 chmod 555 configure config.guess config.sub install-sh
16 # Build include files.
17 f
=..
/include
/cl_extern.h
20 sed -n "s/^ \* PUBLIC: \(.*\)/\1/p" ..
/cl
/*.c
> $f
23 f
=..
/include
/com_extern.h
26 sed -n "s/^ \* PUBLIC: \(.*\)/\1/p" ..
/clib
/*.c ..
/common
/*.c
> $f
32 awk -f ..
/ex
/ex.
awk ..
/ex
/ex_cmd.c
> $f
35 f
=..
/include
/ex_extern.h
38 sed -n "s/^ \* PUBLIC: \(.*\)/\1/p" ..
/ex
/*.c
> $f
42 f
=..
/include
/ip_extern.h
45 sed -n "s/^ \* PUBLIC: \(.*\)/\1/p" ..
/ip
/*.c
> $f
49 f
=..
/include
/options_def.h
52 awk -f ..
/common
/options.
awk ..
/common
/options.c
> $f
55 f
=..
/include
/perl_extern.h
58 sed -n "s/^ \* PUBLIC: \(.*\)/\1/p" ..
/perl_api
/*.xs ..
/perl_api
/*.c
> $f
61 f
=..
/include
/tcl_extern.h
64 sed -n "s/^ \* PUBLIC: \(.*\)/\1/p" ..
/tcl_api
/*.c
> $f
67 f
=..
/include
/tk_extern.h
70 sed -n "s/^ \* PUBLIC: \(.*\)/\1/p" ..
/tk
/*.c
> $f
73 f
=..
/include
/vi_extern.h
76 sed -n "s/^ \* PUBLIC: \(.*\)/\1/p" ..
/vi
/*.c
> $f
80 echo "Building tags files"
82 ctags
-w -d ..
/cl
/*.
[ch
] ..
/common
/*.
[ch
] ..
/ex
/*.
[ch
] ..
/perl_api
/*.
[ch
] \
83 ..
/tcl_api
/*.
[ch
] ..
/tk
/*.
[ch
] ..
/vi
/*.
[ch
]