]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
[Bug 717] Make sure sntp/*version.def is up-to-date
authorHarlan Stenn <stenn@ntp.org>
Tue, 21 Nov 2006 07:43:36 +0000 (02:43 -0500)
committerHarlan Stenn <stenn@ntp.org>
Tue, 21 Nov 2006 07:43:36 +0000 (02:43 -0500)
bk: 4562ae28znIpdESELuf-mg44qEXT0g

bootstrap

index 97c662f655392bc988208e31ade02ad0818eb6a4..b7edbc415c31793a6076916fd411c153e75185d7 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -62,6 +62,11 @@ prog_opt_files=`grep -l '^prog.name' $def_files`
 
 ## Non-AutoGen stuff
 
+for i in autogen-version.def version.def
+do
+    cmp -s include/$i sntp/$i || cp -p include/$i sntp/$i
+done
+
 # touch the stuff generated by the opt files
 
 for f in ${prog_opt_files}