aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/page/mkfile
blob: e1a2162f42d0f71a6fc42af3506ac174b00be1f9 (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
34
<$PLAN9/src/mkhdr

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=$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