aboutsummaryrefslogtreecommitdiff
path: root/doc/Manual/ru/Makefile
blob: 6175844f834f3896c656d58e4b16e96c5ea69109 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
POD2HTML = pod2html
POD2MAN = pod2man

HTMLS = BH_Algo.html \
	BH_Args.html \
	BH_Box2f.html \
	BH_Box3f.html \
	BH_Color.html \
	BH_Hashmap.html \
	BH_IO.html \
	BH_Line.html \
	BH_Mat3f.html \
	BH_Mat4f.html \
	BH_Math.html \
	BH_Plane.html \
	BH_Quat.html \
	BH_Queue.html \
	BH_Ray2f.html \
	BH_Ray3f.html \
	BH_String.html \
	BH_Thread.html \
	BH_Unicode.html \
	BH_Util.html \
	BH_Vec2f.html \
	BH_Vec2i.html \
	BH_Vec3f.html \
	BH_Vec3i.html \
	BH_Vec4f.html \
	BH_Vec4i.html

MANS = BH_Algo.3 \
	BH_Args.3 \
	BH_Box2f.3 \
	BH_Box3f.3 \
	BH_Color.3 \
	BH_Hashmap.3 \
	BH_IO.3 \
	BH_Line.3 \
	BH_Mat3f.3 \
	BH_Mat4f.3 \
	BH_Math.3 \
	BH_Plane.3 \
	BH_Quat.3 \
	BH_Queue.3 \
	BH_Ray2f.3 \
	BH_Ray3f.3 \
	BH_String.3 \
	BH_Thread.3 \
	BH_Unicode.3 \
	BH_Util.3 \
	BH_Vec2f.3 \
	BH_Vec2i.3 \
	BH_Vec3f.3 \
	BH_Vec3i.3 \
	BH_Vec4f.3 \
	BH_Vec4i.3

all: $(MANS) $(HTMLS)

%.3: %.pod
	$(POD2MAN) -c "BHLib" -s 3 -r "0.1.0" $< $@

%.html: %.pod
	$(POD2HTML) --css ../style.css --htmlroot=. --podpath=. $< --outfile $@

dist: $(MANS) $(HTMLS)
	zip html.zip $(HTMLS)
	zip man.zip $(MANS)

clean:
	-rm -f $(MANS) $(HTMLS) pod2htmd.tmp man.zip html.zip