---
+* Create and use scripts/check--help when generating .texi files.
* Update bk triggers for the bk-5 release.
+
---
(4.2.6p3-RC12) 2010/12/25 Released by Harlan Stenn <stenn@ntp.org>
$(srcdir)/ntpd-opts.texi: $(srcdir)/ntpd-opts.def $(srcdir)/ntpdbase-opts.def $(std_def_list)
$(run_ag) -Taginfo.tpl -DLEVEL=section ntpd-opts.def
+ $(top_srcdir)/scripts/check--help $@
$(PROGRAMS): $(LDADD)
$(srcdir)/ntpdc-opts.texi: $(srcdir)/ntpdc-opts.def $(std_def_list)
$(run_ag) -Taginfo.tpl -DLEVEL=section ntpdc-opts.def
+ $(top_srcdir)/scripts/check--help $@
ntpdc_SOURCES = ntpdc.c ntpdc_ops.c ntpdc-opts.c ntpdc-opts.h
$(srcdir)/ntpq-opts.texi: $(srcdir)/ntpq-opts.def $(std_def_list)
$(run_ag) -Taginfo.tpl -DLEVEL=section ntpq-opts.def
+ $(top_srcdir)/scripts/check--help $@
$(PROGRAMS): $(LDADD)
$(srcdir)/ntpsnmpd-opts.texi: $(srcdir)/ntpsnmpd-opts.def $(std_def_list)
$(run_ag) -Taginfo.tpl -DLEVEL=section ntpsnmpd-opts.def
+ $(top_srcdir)/scripts/check--help $@
include $(top_srcdir)/bincheck.mf
include $(top_srcdir)/depsver.mf
noinst_SCRIPTS = \
calc_tickadj \
+ check--help \
checktime \
freq_adj \
html2man \
--- /dev/null
+#! /bin/sh
+
+# Look at the file specified in $1 to see if it contains 'no --help'.
+# If it does:
+# - Squawk
+# - rename the file to ($1)-
+# - exit with a non-zero status.
+# otherwise:
+# - exit with a 0 status.
+
+if ! test -f $1
+then
+ echo "$0: $1 is not a regular file!" 2>&3
+ exit 1
+fi
+
+if grep -q 'no --help' $1
+then
+ echo "$0: $1 contains 'no --help'!" 2>&3
+ mv ${1} ${1}-
+ exit 1
+fi
$(srcdir)/sntp-opts.texi: $(srcdir)/sntp-opts.def $(srcdir)/version.def $(srcdir)/../include/copyright.def
$(run_ag) -Taginfo.tpl -DLEVEL=section sntp-opts.def
+ $(top_srcdir)/scripts/check--help $@
$(srcdir)/sntp.html: $(srcdir)/sntp-opts.menu $(srcdir)/sntp-opts.texi $(srcdir)/sntp.texi $(srcdir)/version.texi
cd $(srcdir) && ( makeinfo --force --html --no-split -o sntp.html sntp.texi || true )
$(srcdir)/ntp-keygen-opts.texi: $(srcdir)/ntp-keygen-opts.def $(std_def_list)
$(run_ag) -Taginfo.tpl -DLEVEL=section ntp-keygen-opts.def
+ $(top_srcdir)/scripts/check--help $@
jitter_SOURCES= jitter.c jitter.h