1# 2# makefile for Magic documentation 3# 4 5MAGICDIR = .. 6PSDIR = psfiles 7 8include ${MAGICDIR}/defs.mak 9 10PRINTER=verlag 11TROFF=ditroff -P${PRINTER} 12TTROFF=ditroff -Ppsc -t 13PSDIT=psdit 14GRN=grn -Ppsc 15TBL=tbl -Ppsc 16EQN=eqn -Ppsc 17 18install-tcl: 19 cd latexfiles && ${MAKE} install 20 cd man && ${MAKE} install 21 cd tutcells && ${MAKE} install 22 cd html && ${MAKE} install 23 24install: 25 cd latexfiles && ${MAKE} install 26 cd man && ${MAKE} install 27 cd tutcells && ${MAKE} install 28 cd html && ${MAKE} install 29 30print_only: force 31 lpr -h ${PSDIR}/copyright.ps 32 lpr -h ${PSDIR}/tofc.ps 33 lpr -h ${PSDIR}/introduction.ps 34 lpr -h ${PSDIR}/tut1.ps 35 lpr -h ${PSDIR}/tut2.ps 36 lpr -h ${PSDIR}/tut3.ps 37 lpr -h ${PSDIR}/tut4.ps 38 lpr -h ${PSDIR}/tut5.ps 39 lpr -h ${PSDIR}/tut6.ps 40 lpr -h ${PSDIR}/tut7.ps 41 lpr -h ${PSDIR}/tut8.ps 42 lpr -h ${PSDIR}/tut9.ps 43 lpr -h ${PSDIR}/tut10.ps 44 lpr -h ${PSDIR}/tut11.ps 45 lpr -h ${PSDIR}/maint1.ps 46 lpr -h ${PSDIR}/maint2.ps 47 lpr -h ${PSDIR}/maint3.ps 48 lpr -h ${PSDIR}/maint4.ps 49 lpr -h ${PSDIR}/otherreports.ps 50 lpr -h ${PSDIR}/Addendum6.5.ps 51 52print: postscript print_only 53 54postscript: copyright.ps introduction.ps tofc.ps tut1.ps tut2.ps tut3.ps \ 55 tut4.ps tut5.ps tut6.ps tut7.ps tut8.ps tut9.ps tut10.ps tut11.ps \ 56 maint1.ps maint2.ps maint3.ps maint4.ps Addendum6.5.ps 57 cd nmos; make postscript PRINTER=psc "PSDIT=${PSDIT}" 58 cd scmos; make postscript PRINTER=psc "PSDIT=${PSDIT}" 59