3 # UNIX Makefile for NASM documentation
9 exec_prefix = @
exec_prefix@
12 docdir
= $(prefix)/doc
/nasm
16 INSTALL_PROGRAM
= @INSTALL_PROGRAM@
17 INSTALL_DATA
= @INSTALL_DATA@
29 .SUFFIXES
: .src .texi .
info .ps .rtf .hpj .
dvi .ps .txt .pl .ipf .inf
31 # Consider html, txt and src output a side effect
34 $(PERL
) .
/rdsrc.pl
< $<
37 nasm.
info: nasmdoc.texi
40 mv
-f
*.
info *.info-
* info
42 # Rules for building an OS/2 book
50 -rm -f
*.rtf
*.hpj
*.texi
*.ph
*.gid
*.ipf
53 -rm -rf html
info *.hlp
*.txt
*.ps
*.inf
56 $(INSTALL_DATA
) info/* $(INSTALLROOT
)$(infodir)
57 mkdir
-p
$(INSTALLROOT
)$(docdir
)/html
58 $(INSTALL_DATA
) html
/* $(INSTALLROOT
)$(docdir
)/html
59 $(INSTALL_DATA
) nasmdoc.ps nasmdoc.txt
$(INSTALLROOT
)$(docdir
)