1 1.1.1.1.10.2 msaitoh [+: -*- Mode: nroff -*- 2 1.1.1.1.10.2 msaitoh 3 1.1.1.1.10.2 msaitoh AutoGen5 template mdoc 4 1.1.1.1.10.2 msaitoh 5 1.1.1.1.10.2 msaitoh ## agman-cmd.tpl -- Template for command line mdoc pages 6 1.1.1.1.10.2 msaitoh ## 7 1.1.1.1.10.2 msaitoh ## This file is part of AutoOpts, a companion to AutoGen. 8 1.1.1.1.10.2 msaitoh ## AutoOpts is free software. 9 1.1.1.1.10.2 msaitoh ## AutoOpts is Copyright (C) 1992-2013 by Bruce Korb - all rights reserved 10 1.1.1.1.10.2 msaitoh ## 11 1.1.1.1.10.2 msaitoh ## AutoOpts is available under any one of two licenses. The license 12 1.1.1.1.10.2 msaitoh ## in use must be one of these two and the choice is under the control 13 1.1.1.1.10.2 msaitoh ## of the user of the license. 14 1.1.1.1.10.2 msaitoh ## 15 1.1.1.1.10.2 msaitoh ## The GNU Lesser General Public License, version 3 or later 16 1.1.1.1.10.2 msaitoh ## See the files "COPYING.lgplv3" and "COPYING.gplv3" 17 1.1.1.1.10.2 msaitoh ## 18 1.1.1.1.10.2 msaitoh ## The Modified Berkeley Software Distribution License 19 1.1.1.1.10.2 msaitoh ## See the file "COPYING.mbsd" 20 1.1.1.1.10.2 msaitoh ## 21 1.1.1.1.10.2 msaitoh ## These files have the following sha256 sums: 22 1.1.1.1.10.2 msaitoh ## 23 1.1.1.1.10.2 msaitoh ## 8584710e9b04216a394078dc156b781d0b47e1729104d666658aecef8ee32e95 COPYING.gplv3 24 1.1.1.1.10.2 msaitoh ## 4379e7444a0e2ce2b12dd6f5a52a27a4d02d39d247901d3285c88cf0d37f477b COPYING.lgplv3 25 1.1.1.1.10.2 msaitoh ## 13aa749a5b0a454917a944ed8fffc530b784f5ead522b1aacaf4ec8aa55a6239 COPYING.mbsd 26 1.1.1.1.10.2 msaitoh 27 1.1.1.1.10.2 msaitoh # Produce a man page for section 1, 5 or 8 commands. 28 1.1.1.1.10.2 msaitoh # Which is selected via: -DMAN_SECTION=n 29 1.1.1.1.10.2 msaitoh # passed to the autogen invocation. "n" may have a suffix, if desired. 30 1.1.1.1.10.2 msaitoh # 31 1.1.1.1.10.2 msaitoh :+][+: 32 1.1.1.1.10.2 msaitoh 33 1.1.1.1.10.2 msaitoh (define head-line (lambda() (string-append 34 1.1.1.1.10.2 msaitoh ".Dd " (shell "date '+%B %e %Y' | sed 's/ */ /g'") 35 1.1.1.1.10.2 msaitoh "\n.Dt " UP-PROG-NAME " " man-sect " " section-name 36 1.1.1.1.10.2 msaitoh "\n.Os\n") )) 37 1.1.1.1.10.2 msaitoh 38 1.1.1.1.10.2 msaitoh (define man-page #f) :+][+: 39 1.1.1.1.10.2 msaitoh 40 1.1.1.1.10.2 msaitoh INCLUDE "mdoc-synopsis.tlib" :+][+: 41 1.1.1.1.10.2 msaitoh INCLUDE "cmd-doc.tlib" :+][+: 42 1.1.1.1.10.2 msaitoh INVOKE build-doc :+][+: 43 1.1.1.1.10.2 msaitoh 44 1.1.1.1.10.2 msaitoh (out-move (string-append 45 1.1.1.1.10.2 msaitoh (get "prog-name") "." man-sect)) :+][+: 46 1.1.1.1.10.2 msaitoh agmdoc-cmd.tpl ends here :+] 47