$! VWIZARD.COM $! $! Build C documentation, run as an indirect command file $! $! This is an abbreviated version of VGTDOC.COM which builds only the $! WIZARD.DOC standard I/O documentation $! $! $! The following accounts are used: $! $ ASSIGN [-.COMMAND] DOC ! Documentation (.RNO, etc.) $ ASSIGN [-] OUT ! C library output $ ASSIGN [-.OTSCOM] OTSCOM ! Common library $ ASSIGN [-.OTSIO] OTSIO ! I/O library $! $! The GETRNO, GETKWK, FIXDOC, RNOIDX, and KWIK programs are assumed to be $! stored in BIN: which has previously been allocated by the user. $! $ GETRNO := $BIN:GETRNO.EXE $ GETKWK := $BIN:GETKWK.EXE $ FIXDOC := $BIN:FIXDOC.EXE $ KWIK := $BIN:KWIK.EXE $ RNOIDX := $BIN:RNOIDX.EXE $! $ WAS_VERIFY = 'F$VERIFY(1)' $! $! Do the library $! $ GETRNO -W >WIZ.TMP -R -M -H DOC:CLIBHD.RNO OTSCOM:*.MAC OTSIO:*.MAC $ GETRNO -W >HWIZ.TMP -R -H DOC:CLIHDR.RNO DOC:*.H $ COPY WIZ.TMP,HWIZ.TMP WIZARD.TMP $ DELETE WIZ.TMP;*,HWIZ.TMP;* $! $! Now for the index $! $ GETKWK -W >GETKWK.TMP OTSCOM:*.MAC OTSIO:*.MAC $ KWIK -T 16 -W 64 KWIK.TMP $ DELETE GETKWK.TMP;* $ RNOIDX RNOIDX.TMP $ DELETE KWIK.TMP;* $ COPY DOC:IXLIBR.RNO,RNOIDX.TMP WIZDEX.TMP $ DELETE RNOIDX.TMP;* $! $! Make the library documentation $! $ GETRNO >KIT.TMP -R -H DOC:KIT.RNO $ GETRNO >NEW.TMP -R -H DOC:NEW.RNO $ COPY WIZARD.TMP,KIT.TMP,WIZDEX.TMP DOC:WIZARD.RNO $ DELETE WIZARD.TMP;* $ DELETE WIZDEX.TMP;* $ PURGE DOC:*.RNO $! $! This presupposes "DEC-standard" RUNOFF, available on VMS V2.0 $! $ RUNOFF/UNDERLINE/OUT=DOC.TMP DOC:WIZARD.RNO $ FIXDOC OUT:WIZARD.DOC $ DELETE DOC.TMP;* $! $ PURGE OUT:*.DOC $ SET NOON $ DELETE SORT.TMP;* ! Leftover from KWIK $ SET ON $! $ IF .NOT. 'WAS_VERIFY' THEN SET VERIFY $! $! Documentation built. $!