shithub: riscv

ref: e3506f4c4d64903e9394f3dc55d9fe74af2af46c
dir: /sys/src/cmd/page/mkfile/

View raw version
</$objtype/mkfile

TARG=page

HFILES=page.h
OFILES=\
	cache.$O\
	filter.$O\
	gfx.$O\
	gs.$O\
	page.$O\
	pdf.$O\
	ps.$O\
	rotate.$O\
	util.$O\
	view.$O\

LIB=/$objtype/lib/libdraw.a

UPDATE=\
	mkfile\
	${OFILES:%.$O=%.c}\
	pdfprolog.ps\
	$HFILES\
	/sys/man/1/page\
	/386/bin/page\

</sys/src/cmd/mkone

BIN=/$objtype/bin

pdfprolog.c: pdfprolog.ps
	cat pdfprolog.ps | sed 's/.*/"&\\n"/g' >pdfprolog.c

pdf.$O: pdfprolog.c