Lines Matching +full:- +full:lh

3 #  This "bootstrap" script performs various pre-autoreconf actions
6 # --force is supported and will be passed to autoreconf
24 # tear-off/redistributable library.
28 # 4. gunzip. The tear-off library is a gzipped tarball.
30 set -e
39 AUTORECONF=${AUTORECONF:-autoreconf}
43 # if fgrep -q 4.2.4 sntp/m4/version.m4; then
44 # AUTOCONF=autoconf-2.59
45 # AUTOHEADER=autoheader-2.59
46 # AUTOMAKE=automake-1.9
47 # ACLOCAL=aclocal-1.9
54 # 20060629: HMS: Let's try checking in libopts and the autogen-generated files
56 #rm -rf libopts*
57 #gunzip -c $(autoopts-config --libsrc) | (
58 # tar -xvf -
59 # mv libopts-*.*.* libopts )
62 #rm -rf sntp/libopts*
63 #gunzip -c $(autoopts-config --libsrc) | (
65 # tar -xvf -
66 # mv libopts-*.*.* libopts )
74 runner_files=`find [B-Za-z]* -type f -name 'run-*' -print | fgrep -v /SCCS/`
80 fb=`echo $f | sed -e 's/run-//'`
94 def_files=`find [B-Za-z]* -type f -name '*.def' -print | fgrep -v /SCCS/`
95 prog_opt_files=`grep -l '^prog.name' $def_files`
100 lh=
104 f=`echo $f | sed -e 's/-opts.def//' -e 's/.def//'`
106 dfi=`echo $dfi | sed -e 's:$:/invoke-*:'`
107 for i in `ls -1 $f* $dfi`
110 *invoke-*)
113 *.c|*.h|*.[1-9]*man|*.[1-9]*mdoc|*.man.in|*.mdoc.in|*-opts|*.texi|*.menu)
117 lh="$lh $i"
136 case "$lh" in
138 *) touch $lh
139 echo "Touching <$lh>"
148 # ntp_parser.y hasn't been updated. At the same time, keyword-gen-utd
150 # keyword-gen.c.
152 touch ntpd/ntp_parser.[ch] ntpd/keyword-gen-utd ntpd/ntp_keyword.h
159 ${AUTORECONF} -i -v "$@"
161 # Because some systems do not support 'test a -nt b'
162 case `ls -1tr config.h.in aclocal.m4 | tail -1` in
165 case `ls -1tr sntp/config.h.in sntp/aclocal.m4 | tail -1` in
168 case `ls -1tr sntp/libevent/config.h.in sntp/libevent/aclocal.m4 | tail -1` in
178 # the top-level run to get a correct sntp/libopts/Makefile.in.
179 # To reduce redundancy, the top-level autoreconf uses --no-recursive.
186 #rm -rf sntp/autom4te.cache
188 # (cd sntp && ${AUTORECONF} -i -v "$@")