path: root/doc/Makefile.in
diff options
authorH. Peter Anvin <hpa@zytor.com>2017-04-10 06:35:29 -0700
committerH. Peter Anvin <hpa@zytor.com>2017-04-10 06:35:29 -0700
commit70b070f952be06f373f0554afa1c73b4bd3ef898 (patch)
treeae07ebe9b5816a2b29222d966a536d5e19a597f0 /doc/Makefile.in
parent92ae33b1b34af0d7df0d6bf2a52635ca393831a7 (diff)
doc: improve the look of the documentation with better fonts
Use the Adobe Source Sans/Code Pro fonts by default. They are Open Source fonts by Adobe. However, since these fonts are quite large, let them be an external dependency and do our best to try to find them with whatever mechanism is available on the system for finding standard fonts. Also have a list of substitution fonts if necessary. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'doc/Makefile.in')
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/Makefile.in b/doc/Makefile.in
index ae756f1e..9203f121 100644
--- a/doc/Makefile.in
+++ b/doc/Makefile.in
@@ -33,6 +33,8 @@ RM_RF = rm -rf
SRCS = nasmdoc.src inslist.src changes.src version.src
OUT = info html nasmdoc.txt nasmdoc.ps nasmdoc.pdf
+.SUFFIXES: .pfa .ph
all: $(OUT)
os2: nasm.inf
@@ -61,8 +63,8 @@ version.src: $(top_srcdir)/version.pl $(top_srcdir)/version
$(PERL) $(top_srcdir)/version.pl docsrc \
< $(top_srcdir)/version > version.src
-nasmdoc.ps: nasmdoc.dip nasmlogo.eps \
- genps.pl psfonts.ph pswidth.ph head.ps
+nasmdoc.ps: nasmdoc.dip nasmlogo.eps genps.pl afmmetrics.ph pswidth.ph \
+ psfonts.ph head.ps
$(PERL) $(srcdir)/genps.pl -headps $(srcdir)/head.ps nasmdoc.dip \
> nasmdoc.ps