summaryrefslogtreecommitdiff
path: root/doc/Makefile.in
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2002-05-14 21:21:24 +0000
committerH. Peter Anvin <hpa@zytor.com>2002-05-14 21:21:24 +0000
commite23f305d2c8a36654d19cc3d3486ebb3bcee9c7c (patch)
tree3b1914726cb38cd9b5ba0e1c84a79abf41c278fa /doc/Makefile.in
parentc7a2652f4a5f07cdba76d71827e432e080b58693 (diff)
downloadnasm-e23f305d2c8a36654d19cc3d3486ebb3bcee9c7c.tar.gz
Don't remove head.ps by mistake
Diffstat (limited to 'doc/Makefile.in')
-rw-r--r--doc/Makefile.in21
1 files changed, 16 insertions, 5 deletions
diff --git a/doc/Makefile.in b/doc/Makefile.in
index e7cd2d56..0ac43807 100644
--- a/doc/Makefile.in
+++ b/doc/Makefile.in
@@ -28,17 +28,26 @@ all: $(OUT)
os2: nasm.inf
-.SUFFIXES: .src .texi .info .ps .rtf .hpj .dvi .pdf .txt .pl .ipf .inf
-
# Consider html, txt and ps output a side effect
-nasmdoc.texi: nasmdoc.src rdsrc.pl
+nasmdoc.dip: nasmdoc.src rdsrc.pl
mkdir -p html
$(PERL) $(srcdir)/rdsrc.pl < $<
mv -f *.html html
-nasmdoc.ps: nasmdoc.texi
+nasmdoc.ps: nasmdoc.dip
+ : Generated by side effect
+
+nasmdoc.texi: nasmdoc.dip
: Generated by side effect
+new: nasmdocx.ps nasmdocx.pdf
+
+nasmdocx.ps: nasmdoc.dip nasmlogo.eps genps.pl psfonts.ph pswidth.pl head.ps
+ $(PERL) $(srcdir)/genps.pl > nasmdocx.ps
+
+nasmdocx.pdf: nasmdocx.ps
+ $(PS2PDF) nasmdocx.ps nasmdocx.pdf
+
nasm.info: info/nasm.info
info/nasm.info: nasmdoc.texi
@@ -66,7 +75,9 @@ clean:
-rm -f *.aux *.cp *.fn *.ky *.pg *.log *.toc *.tp *.vr
spotless: clean
- -rm -rf html info *.hlp *.txt *.ps *.inf *.pdf *.dvi
+ -rm -rf html info
+ -rm -f *.hlp *.txt *.inf *.pdf *.dvi
+ -rm -f nasmdoc.ps nasmdocx.ps
install: all
$(INSTALL_DATA) info/* $(INSTALLROOT)$(infodir)