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