summaryrefslogtreecommitdiff
path: root/doc/Makefile
blob: 07aabdc0eb8d42a6df9049c99d87060b4632a27b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
PAPER = a4
MKHOWTO = python tools/mkhowto --$(PAPER)

default: html

all: ps html text dvi

dvi ps text: pyOpenSSL.tex
	$(MKHOWTO) --$@ $^

html: pyOpenSSL.tex
	$(MKHOWTO) --html --iconserver . $^
	-rm -rf html
	mv pyOpenSSL html

clean:
	rm -rf html pyOpenSSL.dvi pyOpenSSL.ps pyOpenSSL.txt \
	    pyOpenSSL.l2h pyOpenSSL.how

.PHONY: default all html dvi ps text clean