view docs/nitros9guide/buildman @ 3205:e85fdf0e52ae

corsham,atari: Include OS9GEN in disk image creation This requires ToolShed 2.2 or newer. The os9gen command from previous ToolShed versions would corrupt the disk image.
author Tormod Volden <debian.tormod@gmail.com>
date Sat, 09 Sep 2017 22:37:18 +0200
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$$