summaryrefslogtreecommitdiff
path: root/font/devdvi/Makefile.sub
diff options
context:
space:
mode:
authorwlemb <wlemb>2003-03-14 13:13:49 +0000
committerwlemb <wlemb>2003-03-14 13:13:49 +0000
commit647406cedc3459378ddff83e8bb299cab3a02f1f (patch)
treead1ef21c1d72c30d9cd5aa4ec52ff6c91bdc0e9a /font/devdvi/Makefile.sub
parent3931638a1a8b2b631147ae7ed30d9ad70d6ec7cd (diff)
downloadgroff-647406cedc3459378ddff83e8bb299cab3a02f1f.tar.gz
Add options -p and -l to grodvi.
* src/devices/grodvi/dvi.cc: Include paper.h. (landscape_flag, user_paper_length, user_paper_width): New global variables. (dvi_printer::begin_page): Emit `papersize' special. Set color after initialization of `cur_h' and `cur_v'. (main): Add options `-l' and `-p'. * font/devdvi/Makefile.sub (DESC): Set `papersize'. * src/devices/grodvi/grodvi.man, NEWS: Updated. * src/devices/grops/psrm.cc (valid_input_table): Fixed. * src/devices/grops/grops.man: Move documentation of .PSPIC to... * man/groff_tmac.man: This man page. * man/groff_font.man: Declare `paperwidth' and `paperlength' as deprecated. * tmac/X.tmac: Don't load pspic.tmac.
Diffstat (limited to 'font/devdvi/Makefile.sub')
-rw-r--r--font/devdvi/Makefile.sub5
1 files changed, 5 insertions, 0 deletions
diff --git a/font/devdvi/Makefile.sub b/font/devdvi/Makefile.sub
index f6536152..e3d09a25 100644
--- a/font/devdvi/Makefile.sub
+++ b/font/devdvi/Makefile.sub
@@ -14,4 +14,9 @@ CLEANADD=DESC
DESC: DESC.in
cat $(srcdir)/DESC.in >DESC
+ if test "$(PAGE)" = A4; then \
+ echo "papersize a4" >>DESC; \
+ else \
+ echo "papersize letter" >>DESC; \
+ fi
test -z '$(DVIPRINT)' || echo print '$(DVIPRINT)' >>DESC