aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/page/mkfile
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/page/mkfile')
-rw-r--r--src/cmd/page/mkfile23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/cmd/page/mkfile b/src/cmd/page/mkfile
new file mode 100644
index 00000000..e8dbf52a
--- /dev/null
+++ b/src/cmd/page/mkfile
@@ -0,0 +1,23 @@
+<$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\
+
+<$PLAN9/src//mkone
+
+pdfprolog.c: pdfprolog.ps
+ cat pdfprolog.ps | sed 's/.*/"&\\n"/g' >pdfprolog.c
+
+pdf.$O: pdfprolog.c
+