view docs/nitros9guide/buildman @ 1289:d13864ef3317

Changed to rev 0
author boisy
date Sat, 30 Aug 2003 21:17:14 +0000
parents 740f7868679c
children
line wrap: on
line source

#!/bin/sh
if [ $# -ne 1 ]; then
   echo "  Usage: buildman commandname"
   echo "  The result is in file r1.html"
   exit 1
fi
cat -  > temp$$ <<wrapper
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
  <!ENTITY replstart "&lt;">
  <!ENTITY replend   "&gt;">
  <!ENTITY repeatst   "{">
  <!ENTITY repeaten   "}">
  <!ENTITY quot CDATA  "&#22;">
  <!ENTITY refentrypage SYSTEM "$1.refentry">
 ]>
<article>
&refentrypage;
</article>
wrapper
docbook2man temp$$ 
rm temp$$