summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/groff/devlj4/Makefile
blob: f4318ad6ff4c1f1f55de6450bb7baa11ab112991 (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
# $FreeBSD$

DEV=		lj4
LJ4RES=		600
LJ4PRINT=	$(PSPRINT)
DEVFILES=	DESC \
		ALBB ALBR AOB AOI AOR CB CBI CI CR GB GBI GI GR \
		LGB LGI LGR OB OBI OI OR TB TBI TI TR UB UBI UI UR \
		UCB UCBI UCI UCR CLARENDON CORONET MARIGOLD S \
		generate/Makefile generate/text.map generate/special.map

CLEANFILES+=	DESC

DESC: DESC.in
	-rm -f DESC
	echo "res $(LJ4RES)" >DESC
	echo "unitwidth `expr 7620000 / $(LJ4RES)`" >>DESC
	cat ${DIST_DIR}/DESC.in >>DESC
	if test "$(PAGE)" = A4; then \
	  echo "papersize a4" >>DESC; \
	else \
	  echo "papersize letter" >>DESC; \
	fi
	test -z '$(LJ4PRINT)' || echo print '$(LJ4PRINT)' >>DESC

fonts:
	$(MAKE) -f ${DIST_DIR}/generate/Makefile srcdir=${DIST_DIR}/generate \
	  HPFTODIT=${.CURDIR}/../hpftodit/hpftodit

.include "../Makefile.dev"
OpenPOWER on IntegriCloud