bk: 52dc8c4fSkVoT_-RtsBSDVcBT9brmQ
+* [Bug 2540] bootstrap script needs to 'touch' files in finer-grained groups.
(4.2.7p411) 2014/01/12 Released by Harlan Stenn <stenn@ntp.org>
* [Bug 2532] Note in ntpdc docs that "enable pps" only works on older ntpd.
(4.2.7p410) 2014/01/08 Released by Harlan Stenn <stenn@ntp.org>
# touch the stuff generated by the opt files
+l=
+lh=
+li=
for f in ${prog_opt_files}
do
f=`echo $f | sed -e 's/-opts.def//' -e 's/.def//'`
- l=
- lh=
dfi=`dirname $f`
dfi=`echo $dfi | sed -e 's:$:/invoke-*:'`
for i in `ls -1 $f* $dfi`
do
case "$i" in
+ *invoke-*)
+ li="$li $i"
+ ;;
*.c|*.h|*.[1-9]*man|*.[1-9]*mdoc|*.man.in|*.mdoc.in|*-opts|*.texi|*.menu)
l="$l $i"
;;
;;
esac
done
- case "$l:$lh" in
- ':') ;;
- *) touch $l $lh
- ;;
- esac
done
+case "$l" in
+ '') ;;
+ *) touch $l
+ echo "Touching <$l>"
+ sleep 1
+ ;;
+esac
+case "$li" in
+ '') ;;
+ *) touch $li
+ echo "Touching <$li>"
+ sleep 1
+ ;;
+esac
+case "$lh" in
+ '') ;;
+ *) touch $lh
+ echo "Touching <$lh>"
+ ;;
+esac
## EOAutoGen stuff