]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
calc_tickadj/Makefile.am man/mdoc page build cleanup
authorHarlan Stenn <stenn@ntp.org>
Mon, 10 Feb 2014 07:35:55 +0000 (02:35 -0500)
committerHarlan Stenn <stenn@ntp.org>
Mon, 10 Feb 2014 07:35:55 +0000 (02:35 -0500)
bk: 52f8815bNiznCIOeClJwRV3hezdBFw

ChangeLog
scripts/calc_tickadj/Makefile.am
scripts/calc_tickadj/calc_tickadj.1calc_tickadjman
scripts/calc_tickadj/calc_tickadj.1calc_tickadjmdoc
scripts/calc_tickadj/calc_tickadj.man.in
scripts/calc_tickadj/calc_tickadj.mdoc.in

index 79c48233d216a141f04707bead7a5d1c6182f54c..bf3bd045abc34a2e9ae799c2ca6820f120917b1d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
 * [Bug 898] More documentation fixes.
 * [Bug 2555] Autogen mdoc man pages all stamped with SunOS 5.10.
+* calc_tickadj/Makefile.am man/mdoc page build cleanup.
 (4.2.7p420) 2014/02/09 Released by Harlan Stenn <stenn@ntp.org>
 * [Bug 492] Clearly document ntpdate's pending deprecation.
 * [Bug 1186] ntpd fails with link local IPv6 addresses.
index f94908bb15c382d651b904c219780fb971b65b7e..e0abdd7d2a68123af2dbb67828dd550445583887 100644 (file)
@@ -2,6 +2,15 @@ NULL=
 run_ag=                cd $(srcdir) && env PATH="$(abs_builddir):$(PATH)"      \
                autogen -L ../../sntp/include -L ../../sntp/ag-tpl \
                --writable
+std_def_list =                                                 \
+       $(top_srcdir)/sntp/include/debug-opt.def                \
+       $(top_srcdir)/sntp/include/autogen-version.def          \
+       $(top_srcdir)/sntp/include/copyright.def                \
+       $(top_srcdir)/sntp/include/homerc.def                   \
+       $(top_srcdir)/sntp/include/ntp.lic                      \
+       $(top_srcdir)/sntp/include/version.def                  \
+       $(NULL)
+
 
 bin_SCRIPTS=   $(CALC_TICKADJ_DB)
 libexec_SCRIPTS=       $(CALC_TICKADJ_DL)
@@ -40,6 +49,8 @@ EXTRA_DIST =                          \
 noinst_DATA =                          \
        calc_tickadj.1calc_tickadjman   \
        calc_tickadj.1calc_tickadjmdoc  \
+       calc_tickadj.man.in             \
+       calc_tickadj.mdoc.in            \
        calc_tickadj.texi               \
        calc_tickadj.html               \
        calc_tickadj-opts.def           \
index 613624623330ea431cfd072c7069428559218ecf..5f5b15df69e7a0db163340932cb1761b1047e43a 100644 (file)
 .ds B-Font B
 .ds I-Font I
 .ds R-Font R
-.TH calc_tickadj 1calc_tickadjman "27 Jan 2014" "ntp (4.2.7p411)" "User Commands"
+.TH calc_tickadj 1calc_tickadjman "10 Feb 2014" "ntp (4.2.7p420)" "User Commands"
 .\"
-.\" EDIT THIS FILE WITH CAUTION (in-mem file)
+.\" EDIT THIS FILE WITH CAUTION (/tmp/.ag-Q0aynb/ag-30aOmb)
 .\"
-.\" It has been AutoGen-ed January 27, 2014 at 09:00:38 AM by AutoGen 5.18.3pre11
+.\" It has been AutoGen-ed February 10, 2014 at 01:58:18 AM by AutoGen 5.18.3pre11
 .\" From the definitions calc_tickadj-opts.def
 .\" and the template file agman-cmd.tpl
 .SH NAME
@@ -90,6 +90,35 @@ Output version of program and exit.  The default mode is `v', a simple
 version.  The `c' mode will print copyright information and `n' will
 print the full copyright notice.
 .PP
+.TH calc_tickadj 1calc_tickadjman "10 Feb 2014" "ntp (4.2.7p420)" "User Commands"
+.\"
+.\" EDIT THIS FILE WITH CAUTION (/tmp/.ag-Q0aynb/ag-30aOmb)
+.\"
+.\" It has been AutoGen-ed February 10, 2014 at 01:58:18 AM by AutoGen 5.18.3pre11
+.\" From the definitions calc_tickadj-opts.def
+.\" and the template file agman-cmd.tpl
+.SH NAME
+\f\*[B-Font]calc_tickadj\fP calc_tickadj
+\- Calculates optimal value for tick given ntp drift file.
+cvt_prog='/usr/local/gnu/share/autogen/texi2man'
+cvt_prog=`cd \`dirname "$cvt_prog"\` >/dev/null && pwd
+         `/`basename "$cvt_prog"`
+cd $tmp_dir
+test \-x "$cvt_prog" || die "'$cvt_prog' is not executable"
+{
+    list='synopsis description options option-presets'
+    for f in $list ; do cat $f ; echo ; done
+    rm \-f $list name
+    list='implementation-notes environment files examples exit-status errors
+        compatibility see-also conforming-to history authors copyright bugs
+        notes'
+    for f in $list ; do cat $f ; echo ; done > .end-doc
+    rm \-f $list
+    list=`ls \-1 *`' .end-doc'
+    for f in $list ; do cat $f ; echo ; done
+    rm \-f $list
+} 1>.doc 2>/dev/null
+/opt/csw/bin/ggrep \-E \-v '^[         ]*$' .doc | $cvt_prog
 .SH "EXIT STATUS"
 One of the following exit values will be returned:
 .TP
index e9c387b3359f40f114610a96d81298adf5317080..819bf4cb7ba0191dd1523f1a6bc9a9dbdfae7f73 100644 (file)
@@ -1,9 +1,9 @@
-.Dd January 27 2014
+.Dd February 10 2014
 .Dt CALC_TICKADJ 1calc_tickadjmdoc User Commands
-.Os FreeBSD 6.4-STABLE
+.Os
 .\"  EDIT THIS FILE WITH CAUTION  (calc_tickadj-opts.mdoc)
 .\"
-.\"  It has been AutoGen-ed  January 27, 2014 at 09:00:40 AM by AutoGen 5.18.3pre11
+.\"  It has been AutoGen-ed  February 10, 2014 at 01:58:22 AM by AutoGen 5.18.3pre11
 .\"  From the definitions    calc_tickadj-opts.def
 .\"  and the template file   agmdoc-cmd.tpl
 .Sh NAME
@@ -68,6 +68,25 @@ Output version of program and exit.  The default mode is `v', a simple
 version.  The `c' mode will print copyright information and `n' will
 print the full copyright notice.
 .El
+cvt_prog='/usr/local/gnu/share/autogen/texi2mdoc'
+cvt_prog=`cd \`dirname "$cvt_prog"\` >/dev/null && pwd
+         `/`basename "$cvt_prog"`
+cd $tmp_dir
+test \-x "$cvt_prog" || die "'$cvt_prog' is not executable"
+{
+    list='synopsis description options option\-presets'
+    for f in $list ; do cat $f ; echo ; done
+    rm \-f $list name
+    list='implementation\-notes environment files examples exit\-status errors
+        compatibility see\-also conforming\-to history authors copyright bugs
+        notes'
+    for f in $list ; do cat $f ; echo ; done > .end\-doc
+    rm \-f $list
+    list=`ls \-1 *`' .end\-doc'
+    for f in $list ; do cat $f ; echo ; done
+    rm \-f $list
+} 1>.doc 2>/dev/null
+/opt/csw/bin/ggrep \-E \-v '^[         ]*$' .doc | $cvt_prog
 .Sh "EXIT STATUS"
 One of the following exit values will be returned:
 .Bl -tag
index 5615dda931147201794626bdf9526f39eac36b08..5f5b15df69e7a0db163340932cb1761b1047e43a 100644 (file)
 .ds B-Font B
 .ds I-Font I
 .ds R-Font R
-.TH calc_tickadj 1calc_tickadjman "16 Dec 2013" "" "User Commands"
+.TH calc_tickadj 1calc_tickadjman "10 Feb 2014" "ntp (4.2.7p420)" "User Commands"
 .\"
-.\" EDIT THIS FILE WITH CAUTION (in-mem file)
+.\" EDIT THIS FILE WITH CAUTION (/tmp/.ag-Q0aynb/ag-30aOmb)
 .\"
-.\" It has been AutoGen-ed December 16, 2013 at 09:07:36 PM by AutoGen 5.18.3pre7
+.\" It has been AutoGen-ed February 10, 2014 at 01:58:18 AM by AutoGen 5.18.3pre11
 .\" From the definitions calc_tickadj-opts.def
 .\" and the template file agman-cmd.tpl
 .SH NAME
@@ -84,7 +84,41 @@ Display usage information and exit.
 .TP
 .NOP \f\*[B-Font]\-\&!\f[], \f\*[B-Font]\-\-more-help\f[]
 Pass the extended usage information through a pager.
+.TP
+.NOP \f\*[B-Font]\-v\f[] [{\f\*[I-Font]v|c|n\f[] \f\*[B-Font]\-\-version\f[] [{\f\*[I-Font]v|c|n\f[]}]}]
+Output version of program and exit.  The default mode is `v', a simple
+version.  The `c' mode will print copyright information and `n' will
+print the full copyright notice.
 .PP
+.TH calc_tickadj 1calc_tickadjman "10 Feb 2014" "ntp (4.2.7p420)" "User Commands"
+.\"
+.\" EDIT THIS FILE WITH CAUTION (/tmp/.ag-Q0aynb/ag-30aOmb)
+.\"
+.\" It has been AutoGen-ed February 10, 2014 at 01:58:18 AM by AutoGen 5.18.3pre11
+.\" From the definitions calc_tickadj-opts.def
+.\" and the template file agman-cmd.tpl
+.SH NAME
+\f\*[B-Font]calc_tickadj\fP calc_tickadj
+\- Calculates optimal value for tick given ntp drift file.
+cvt_prog='/usr/local/gnu/share/autogen/texi2man'
+cvt_prog=`cd \`dirname "$cvt_prog"\` >/dev/null && pwd
+         `/`basename "$cvt_prog"`
+cd $tmp_dir
+test \-x "$cvt_prog" || die "'$cvt_prog' is not executable"
+{
+    list='synopsis description options option-presets'
+    for f in $list ; do cat $f ; echo ; done
+    rm \-f $list name
+    list='implementation-notes environment files examples exit-status errors
+        compatibility see-also conforming-to history authors copyright bugs
+        notes'
+    for f in $list ; do cat $f ; echo ; done > .end-doc
+    rm \-f $list
+    list=`ls \-1 *`' .end-doc'
+    for f in $list ; do cat $f ; echo ; done
+    rm \-f $list
+} 1>.doc 2>/dev/null
+/opt/csw/bin/ggrep \-E \-v '^[         ]*$' .doc | $cvt_prog
 .SH "EXIT STATUS"
 One of the following exit values will be returned:
 .TP
index e9c387b3359f40f114610a96d81298adf5317080..819bf4cb7ba0191dd1523f1a6bc9a9dbdfae7f73 100644 (file)
@@ -1,9 +1,9 @@
-.Dd January 27 2014
+.Dd February 10 2014
 .Dt CALC_TICKADJ 1calc_tickadjmdoc User Commands
-.Os FreeBSD 6.4-STABLE
+.Os
 .\"  EDIT THIS FILE WITH CAUTION  (calc_tickadj-opts.mdoc)
 .\"
-.\"  It has been AutoGen-ed  January 27, 2014 at 09:00:40 AM by AutoGen 5.18.3pre11
+.\"  It has been AutoGen-ed  February 10, 2014 at 01:58:22 AM by AutoGen 5.18.3pre11
 .\"  From the definitions    calc_tickadj-opts.def
 .\"  and the template file   agmdoc-cmd.tpl
 .Sh NAME
@@ -68,6 +68,25 @@ Output version of program and exit.  The default mode is `v', a simple
 version.  The `c' mode will print copyright information and `n' will
 print the full copyright notice.
 .El
+cvt_prog='/usr/local/gnu/share/autogen/texi2mdoc'
+cvt_prog=`cd \`dirname "$cvt_prog"\` >/dev/null && pwd
+         `/`basename "$cvt_prog"`
+cd $tmp_dir
+test \-x "$cvt_prog" || die "'$cvt_prog' is not executable"
+{
+    list='synopsis description options option\-presets'
+    for f in $list ; do cat $f ; echo ; done
+    rm \-f $list name
+    list='implementation\-notes environment files examples exit\-status errors
+        compatibility see\-also conforming\-to history authors copyright bugs
+        notes'
+    for f in $list ; do cat $f ; echo ; done > .end\-doc
+    rm \-f $list
+    list=`ls \-1 *`' .end\-doc'
+    for f in $list ; do cat $f ; echo ; done
+    rm \-f $list
+} 1>.doc 2>/dev/null
+/opt/csw/bin/ggrep \-E \-v '^[         ]*$' .doc | $cvt_prog
 .Sh "EXIT STATUS"
 One of the following exit values will be returned:
 .Bl -tag