aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/page/mkfile
blob: bcd02a8d2d57461d16e1cbc424fc2daf2d295b4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<$PLAN9/src/mkhdr

TARG=page

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

LIB=$PLAN9/lib/libdraw.a

UPDATE=\
	mkfile\
	${OFILES:%.$O=%.c}\
	pdfprolog.ps\
	$HFILES\

<$PLAN9/src/mkone

BIN=$PLAN9/bin

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

pdf.$O: pdfprolog.c