blob: 0ce9161db6908bd78d9f1fd9578265be7b955f73 (
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
|
#
# doc/manpages
#
man_RSTFILES = \
doc/manpages/bgpd.rst \
doc/manpages/common-options.rst \
doc/manpages/conf.py \
doc/manpages/defines.rst \
doc/manpages/eigrpd.rst \
doc/manpages/epilogue.rst \
doc/manpages/fabricd.rst \
doc/manpages/frr.rst \
doc/manpages/index.rst \
doc/manpages/isisd.rst \
doc/manpages/ldpd.rst \
doc/manpages/mtracebis.rst \
doc/manpages/nhrpd.rst \
doc/manpages/ospf6d.rst \
doc/manpages/ospfclient.rst \
doc/manpages/ospfd.rst \
doc/manpages/pimd.rst \
doc/manpages/ripd.rst \
doc/manpages/pbrd.rst \
doc/manpages/ripngd.rst \
doc/manpages/sharpd.rst \
doc/manpages/staticd.rst \
doc/manpages/vtysh.rst \
doc/manpages/watchfrr.rst \
doc/manpages/zebra.rst \
doc/manpages/bfdd.rst \
doc/manpages/bfd-options.rst \
# end
EXTRA_DIST += $(man_RSTFILES)
MANBUILD = doc/manpages/_build/man
doc/manpages/_build/.doctrees/environment.pickle: $(man_RSTFILES)
#
# automake integration
#
rstman1dir = $(mandir)/man1
rstman8dir = $(mandir)/man8
rstman1_DATA =
rstman8_DATA =
rstman1_DATA += $(MANBUILD)/frr.1
# dependency
$(rstman8_DATA) $(rstman1_DATA): $(MANBUILD)/man.stamp
#
# hook-ins for clean / doc
# (install is handled by automake _DATA)
#
clean-local: clean-manpages
.PHONY: clean-manpages
clean-manpages:
-rm -rf $(MANBUILD)
doc: doc-man
.PHONY: doc-man
doc-man: $(rstman8_DATA) $(rstman1_DATA)
|