summaryrefslogtreecommitdiff
path: root/doc/Makefile
blob: 572ca570b1f71d08a65f5b56a78eb827d5edb1b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#
# Makefile for NASM documentation

SRCS	= nasmdoc.src
OUT	= nasm.info

all: $(OUT)

.SUFFIXES: .src .texi .info .ps .rtf .hpj .ps .txt .pl

# Consider html, txt and src output a side effect
.src.texi:
	-mkdir html
	perl ./rdsrc.pl < $<
	mv -f *.html html

nasm.info: nasmdoc.texi
	-mkdir info
	makeinfo $<
	mv -f *.info *.info-* info

clean:
	-rm -f *.rtf *.hpj *.texi

spotless: clean
	-rm -rf html info *.hlp *.txt *.ps