]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
For the bootstrap script, touch .html files last
authorHarlan Stenn <stenn@ntp.org>
Tue, 26 Oct 2010 20:42:45 +0000 (16:42 -0400)
committerHarlan Stenn <stenn@ntp.org>
Tue, 26 Oct 2010 20:42:45 +0000 (16:42 -0400)
bk: 4cc73d45XJEKbkp2K7RXKuW4bbXayw

ChangeLog
bootstrap

index 483db9401c4ae36928175a094d8b86a9992694a8..fc430a2e8b32b24811e1e4013382b3487fd93f70 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,4 @@
+* For the bootstrap script, touch .html files last.
 (4.2.7p72) 2010/10/26 Released by Harlan Stenn <stenn@ntp.org>
 * [Bug 1679] Fix test for -lsocket.
 * Clean up missing ;; entries in configure.ac.
index 79b20d650015a662a8ff1bb019305c5cadece9ef..80b8ab5b4cca07a1d8a4bcbfc5c756f3aefc5368 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -89,17 +89,21 @@ for f in ${prog_opt_files}
 do
     f=`echo $f | sed -e 's/-opts.def//'`
     l=
+    lh=
     for i in `ls -1 $f*`
     do
        case "$i" in
-        *.c|*.h|*.1|*.html|*.texi|*.menu)
+        *.c|*.h|*.1|*.texi|*.menu)
            l="$l $i"
            ;;
+        *.html)
+           lh="$lh $i"
+           ;;
        esac
     done
-    case "$l" in
-     '') ;;
-     *) touch $l
+    case "$l:$lh" in
+     ':') ;;
+     *) touch $l $lh
        ;;
     esac
 done