freebsd-dev/contrib/groff/devlj4/Makefile.sub
Jeroen Ruigrok van der Werven e159d2bd86 Virgin import of FSF groff v1.15
2000-01-12 09:51:43 +00:00

34 lines
733 B
Makefile

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
CLEANADD=DESC
DESC: DESC.in
-rm -f DESC
echo "res $(LJ4RES)" >DESC
echo "unitwidth `expr 7620000 / $(LJ4RES)`" >>DESC
cat $(srcdir)/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 $(srcdir)/generate/Makefile srcdir=$(srcdir)/generate \
HPFTODIT=../hpftodit/hpftodit