shithub: sm2

ref: 511dcc30917db425043ebb6238a8333b5c36ab4d
dir: /cin/mkfile/

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

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

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

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

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

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

%.gif:D:
	togif -d 750 $stem[0-9a-z]*.bit > $target

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