2 # $Id: distrib,v 8.17 1996/12/18 10:32:05 bostic Exp $ (Berkeley) $Date: 1996/12/18 10:32:05 $
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 msg
="/* Do not edit: automatically built by build/distrib. */"
17 # Build include files.
22 sed -n "s/^ \* PUBLIC: \(.*\)/\1/p" ..
/cl
/*.c
) > $f
29 sed -n "s/^ \* PUBLIC: \(.*\)/\1/p" ..
/clib
/*.c ..
/common
/*.c
) > $f
36 awk -f ..
/ex
/ex.
awk ..
/ex
/ex_cmd.c
) > $f
43 sed -n "s/^ \* PUBLIC: \(.*\)/\1/p" ..
/ex
/*.c
) > $f
50 sed -n "s/^ \* PUBLIC: \(.*\)/\1/p" ..
/ip
/*.c
) > $f
57 sed -n "s/^ \* PUBLIC: \(.*\)/\1/p" ..
/ipc
/*.c
) > $f
64 sed -n "s/^ \* PUBLIC: \(.*\)/\1/p" ..
/motif
/*.c
) > $f
71 sed -n "s/^ \* PUBLIC: \(.*\)/\1/p" ..
/motif_l
/*.c
) > $f
74 f
=..
/common
/options_def.h
78 awk -f ..
/common
/options.
awk ..
/common
/options.c
) > $f
81 f
=..
/perl_api
/extern.h
85 sed -n "s/^ \* PUBLIC: \(.*\)/\1/p" ..
/perl_api
/*.xs ..
/perl_api
/*.c
) > $f
92 sed -n "s/^ \* PUBLIC: \(.*\)/\1/p" ..
/tcl_api
/*.c
) > $f
99 sed -n "s/^ \* PUBLIC: \(.*\)/\1/p" ..
/vi
/*.c
) > $f
103 echo "Building tags files"
105 ctags
-w -d ..
/cl
/*.
[ch
] ..
/common
/*.
[ch
] ..
/ex
/*.
[ch
] \
106 ..
/perl_api
/*.
[ch
] ..
/tcl_api
/*.
[ch
] \
107 ..
/ip
/*.
[ch
] ..
/ipc
/*.
[ch
] ..
/motif_l
/*.
[ch
] ..
/vi
/*.
[ch
]