freebsd-dev/contrib/groff/font/devlj4/Makefile.sub
2005-10-20 10:45:19 +00:00

42 lines
904 B
Makefile

DEV=lj4
LJ4RES=1200
LJ4PRINT=$(PSPRINT)
DEVFILES=DESC \
AB ABI AI AR \
ALBB ALBR \
AOB AOI AOR \
CB CBI CI CR \
GB GBI GI GR \
LGB LGI LGR \
OB OBI OI OR \
TB TBI TI TR \
TNRB TNRBI TNRI TNRR \
UB UBI UI UR \
UCB UCBI UCI UCR \
CLARENDON CORONET MARIGOLD S \
SYMBOL WINGDINGS \
generate/Makefile \
generate/special.map \
generate/symbol.map \
generate/text.map \
generate/wingdings.map \
generate/special.awk
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=$(top_builddir)/src/utils/hpftodit/hpftodit