shithub: sm2

ref: cf9b967739feccdc4aab5470f5df76dfefcea7a9
dir: /stt/mkfile/

View raw version
ALL=`{ls *.t}

all:V: ${ALL:%.t=%.pdf}

%.ms:D: %.t
	cat msglobal $prereq | pic | tbl | eqn | 
		troff -mpictures > $target

%.ps:D: %.ms
	lp -dstdout < $prereq > $target

%.pdf:D: %.ps
	ps2pdf $prereq > $target

clean:
	rm -f *.pdf *.ps *.ms