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@
27 .SUFFIXES
: .src .texi .
info .ps .rtf .hpj .
dvi .ps .txt .pl
29 # Consider html, txt and src output a side effect
32 $(PERL
) .
/rdsrc.pl
< $<
35 nasm.
info: nasmdoc.texi
38 mv
-f
*.
info *.info-
* info
41 -rm -f
*.rtf
*.hpj
*.texi
*.ph
*.gid
44 -rm -rf html
info *.hlp
*.txt
*.ps
47 $(INSTALL_DATA
) info/* $(INSTALLROOT
)$(infodir)
48 mkdir
-p
$(INSTALLROOT
)$(docdir
)/html
49 $(INSTALL_DATA
) html
/* $(INSTALLROOT
)$(docdir
)/html
50 $(INSTALL_DATA
) nasmdoc.ps nasmdoc.txt
$(INSTALLROOT
)$(docdir
)