1 From: Scott Leggett <scott@sl.id.au>
2 Date: Sun, 5 Nov 2017 15:13:27 +1100
3 Subject: Add correct QUAGGA_VERSION to manpages.
6 doc/Makefile.am | 6 ++++++
16 10 files changed, 15 insertions(+), 9 deletions(-)
18 diff --git a/doc/Makefile.am b/doc/Makefile.am
19 index 38920c8..2c08d5c 100644
22 @@ -123,3 +123,9 @@ DISTCLEANFILES = quagga.info*
23 # do nothing for DVI, so we don't have to generate or distribute EPS
27 +.PHONY: versioned_manpages
28 +versioned_manpages: $(man_MANS)
30 + m4 -DQUAGGA_VERSION=$(QUAGGA_VERSION) $$man | sponge $$man; \
32 diff --git a/doc/bgpd.8 b/doc/bgpd.8
33 index e680ddb..d05edf6 100644
37 -.TH BGPD 8 "25 November 2004" "Quagga BGPD daemon" "Version 0.97.3"
38 +.TH BGPD 8 "25 November 2004" "Quagga BGPD daemon" "Version QUAGGA_VERSION"
40 bgpd \- a BGPv4, BGPv4\+, BGPv4\- routing engine for use with Quagga routing
42 diff --git a/doc/isisd.8 b/doc/isisd.8
43 index 84e6cf5..c014762 100644
47 -.TH IS-IS 8 "25 November 2004" "Quagga IS-IS daemon" "Version 0.97.3"
48 +.TH IS-IS 8 "25 November 2004" "Quagga IS-IS daemon" "Version QUAGGA_VERSION"
50 isisd \- an IS-IS routing engine for use with Quagga routing software.
52 diff --git a/doc/ospf6d.8 b/doc/ospf6d.8
53 index 0643226..9446db1 100644
57 -.TH OSPF6D 8 "25 November 2004" "Quagga OSPFv3 daemon" "Version 0.97.3"
58 +.TH OSPF6D 8 "25 November 2004" "Quagga OSPFv3 daemon" "Version QUAGGA_VERSION"
60 ospf6d \- an OSPFv3 routing engine for use with Quagga routing software.
62 diff --git a/doc/ospfd.8 b/doc/ospfd.8
63 index 8c819cf..626eab2 100644
67 -.TH OSPFD 8 "25 November 2004" "Quagga OSPFv2 daemon" "Version 0.97.3"
68 +.TH OSPFD 8 "25 November 2004" "Quagga OSPFv2 daemon" "Version QUAGGA_VERSION"
70 ospfd \- an OSPFv2 routing engine for use with Quagga routing software.
72 diff --git a/doc/pimd.8 b/doc/pimd.8
73 index 0dd170a..7c89914 100644
77 -.TH PIM 8 "10 December 2008" "Quagga PIM daemon" "Version 0.99.11"
78 +.TH PIM 8 "10 December 2008" "Quagga PIM daemon" "Version QUAGGA_VERSION"
80 pimd \- a PIM routing for use with Quagga Routing Suite.
82 diff --git a/doc/ripd.8 b/doc/ripd.8
83 index 8fa9bf2..d506959 100644
87 -.TH RIPD 8 "25 November 2004" "Quagga RIP daemon" "Version 0.97.3"
88 +.TH RIPD 8 "25 November 2004" "Quagga RIP daemon" "Version QUAGGA_VERSION"
90 ripd \- a RIP routing engine for use with Quagga routing software.
92 diff --git a/doc/ripngd.8 b/doc/ripngd.8
93 index 6e63dc2..c336c89 100644
97 -.TH RIPNGD 8 "25 November 2004" "Quagga RIPNG daemon" "Version 0.97.3"
98 +.TH RIPNGD 8 "25 November 2004" "Quagga RIPNG daemon" "Version QUAGGA_VERSION"
100 ripngd \- a RIPNG routing engine for use with Quagga routing software.
102 diff --git a/doc/vtysh.1 b/doc/vtysh.1
103 index a2afa9f..ff672d0 100644
107 -.TH VTYSH 1 "27 July 2006" "Quagga VTY shell" "Version 0.96.5"
108 +.TH VTYSH 1 "27 July 2006" "Quagga VTY shell" "Version QUAGGA_VERSION"
110 vtysh \- a integrated shell for Quagga routing software
112 diff --git a/doc/zebra.8 b/doc/zebra.8
113 index da5881c..23cf39e 100644
117 -.TH ZEBRA 8 "25 November 2004" "Zebra daemon" "Version 0.97.3"
118 +.TH ZEBRA 8 "25 November 2004" "Zebra daemon" "Version QUAGGA_VERSION"
120 zebra \- a routing manager for use with associated Quagga components.