summaryrefslogtreecommitdiffstats
path: root/print/a2ps43-letter/files/patch-aa
blob: 46ebb8e77da0905a119a1cafdc4069cdb17200f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- Makefile.orig	Mon Feb 14 07:09:33 1994
+++ Makefile	Sun May  9 13:50:34 1999
@@ -29,12 +29,15 @@
 D	=.
 O	=.
 
-BINDIR	=/usr/local/bin
+##BINDIR	=/usr/local/bin
+BINDIR = $(PREFIX)/bin
 
-MANDIR	=/usr/man/mann
-MANEXT	=n
+##MANDIR	=/usr/man/mann
+##MANEXT	=n
+MANEXT = 1
+MANDIR = $(PREFIX)/man/man$(MANEXT)
 
-CFLAGS	= -DBSD -O -DLPR_PRINT
+CFLAGS	= -DBSD -O -DLPR_PRINT -DWIDTH=$(WIDTH) -DHEIGHT=$(HEIGHT) -DA4_PAPERSIZE=$(A4_PAPERSIZE)
 # Default values for HEIGHT, WIDTH, MARGIN and DIR_SEP (11.64, 8.27, 1.2, '/').
 # Default values for LPR_COMMAND and LPR_OPT ("lpr", "-l")
 # No values for TWOSIDED_DFLT, ONESIDED and TWOSIDED
OpenPOWER on IntegriCloud