Package: quagga / 1.2.4-4

0007-Add-correct-QUAGGA_VERSION-to-manpages.patch Patch series | download
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
From: Scott Leggett <scott@sl.id.au>
Date: Sun, 5 Nov 2017 15:13:27 +1100
Subject: Add correct QUAGGA_VERSION to manpages.

---
 doc/Makefile.am | 6 ++++++
 doc/bgpd.8      | 2 +-
 doc/isisd.8     | 2 +-
 doc/ospf6d.8    | 2 +-
 doc/ospfd.8     | 2 +-
 doc/pimd.8      | 2 +-
 doc/ripd.8      | 2 +-
 doc/ripngd.8    | 2 +-
 doc/vtysh.1     | 2 +-
 doc/zebra.8     | 2 +-
 10 files changed, 15 insertions(+), 9 deletions(-)

diff --git a/doc/Makefile.am b/doc/Makefile.am
index 38920c8..2c08d5c 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -123,3 +123,9 @@ DISTCLEANFILES = quagga.info*
 # do nothing for DVI, so we don't have to generate or distribute EPS
 # figures
 dvi: # nothing
+
+.PHONY: versioned_manpages
+versioned_manpages: $(man_MANS)
+	for man in $^; do \
+		m4 -DQUAGGA_VERSION=$(QUAGGA_VERSION) $$man | sponge $$man; \
+		done
diff --git a/doc/bgpd.8 b/doc/bgpd.8
index e680ddb..d05edf6 100644
--- a/doc/bgpd.8
+++ b/doc/bgpd.8
@@ -1,4 +1,4 @@
-.TH BGPD 8 "25 November 2004" "Quagga BGPD daemon" "Version 0.97.3"
+.TH BGPD 8 "25 November 2004" "Quagga BGPD daemon" "Version QUAGGA_VERSION"
 .SH NAME
 bgpd \- a BGPv4, BGPv4\+, BGPv4\- routing engine for use with Quagga routing
 software
diff --git a/doc/isisd.8 b/doc/isisd.8
index 84e6cf5..c014762 100644
--- a/doc/isisd.8
+++ b/doc/isisd.8
@@ -1,4 +1,4 @@
-.TH IS-IS 8 "25 November 2004" "Quagga IS-IS daemon" "Version 0.97.3"
+.TH IS-IS 8 "25 November 2004" "Quagga IS-IS daemon" "Version QUAGGA_VERSION"
 .SH NAME
 isisd \- an IS-IS routing engine for use with Quagga routing software.
 .SH SYNOPSIS
diff --git a/doc/ospf6d.8 b/doc/ospf6d.8
index 0643226..9446db1 100644
--- a/doc/ospf6d.8
+++ b/doc/ospf6d.8
@@ -1,4 +1,4 @@
-.TH OSPF6D 8 "25 November 2004" "Quagga OSPFv3 daemon" "Version 0.97.3"
+.TH OSPF6D 8 "25 November 2004" "Quagga OSPFv3 daemon" "Version QUAGGA_VERSION"
 .SH NAME
 ospf6d \- an OSPFv3 routing engine for use with Quagga routing software.
 .SH SYNOPSIS
diff --git a/doc/ospfd.8 b/doc/ospfd.8
index 8c819cf..626eab2 100644
--- a/doc/ospfd.8
+++ b/doc/ospfd.8
@@ -1,4 +1,4 @@
-.TH OSPFD 8 "25 November 2004" "Quagga OSPFv2 daemon" "Version 0.97.3"
+.TH OSPFD 8 "25 November 2004" "Quagga OSPFv2 daemon" "Version QUAGGA_VERSION"
 .SH NAME
 ospfd \- an OSPFv2 routing engine for use with Quagga routing software.
 .SH SYNOPSIS
diff --git a/doc/pimd.8 b/doc/pimd.8
index 0dd170a..7c89914 100644
--- a/doc/pimd.8
+++ b/doc/pimd.8
@@ -1,4 +1,4 @@
-.TH PIM 8 "10 December 2008" "Quagga PIM daemon" "Version 0.99.11"
+.TH PIM 8 "10 December 2008" "Quagga PIM daemon" "Version QUAGGA_VERSION"
 .SH NAME
 pimd \- a PIM routing for use with Quagga Routing Suite.
 .SH SYNOPSIS
diff --git a/doc/ripd.8 b/doc/ripd.8
index 8fa9bf2..d506959 100644
--- a/doc/ripd.8
+++ b/doc/ripd.8
@@ -1,4 +1,4 @@
-.TH RIPD 8 "25 November 2004" "Quagga RIP daemon" "Version 0.97.3"
+.TH RIPD 8 "25 November 2004" "Quagga RIP daemon" "Version QUAGGA_VERSION"
 .SH NAME
 ripd \- a RIP routing engine for use with Quagga routing software.
 .SH SYNOPSIS
diff --git a/doc/ripngd.8 b/doc/ripngd.8
index 6e63dc2..c336c89 100644
--- a/doc/ripngd.8
+++ b/doc/ripngd.8
@@ -1,4 +1,4 @@
-.TH RIPNGD 8 "25 November 2004" "Quagga RIPNG daemon" "Version 0.97.3"
+.TH RIPNGD 8 "25 November 2004" "Quagga RIPNG daemon" "Version QUAGGA_VERSION"
 .SH NAME
 ripngd \- a RIPNG routing engine for use with Quagga routing software.
 .SH SYNOPSIS
diff --git a/doc/vtysh.1 b/doc/vtysh.1
index a2afa9f..ff672d0 100644
--- a/doc/vtysh.1
+++ b/doc/vtysh.1
@@ -1,4 +1,4 @@
-.TH VTYSH 1 "27 July 2006" "Quagga VTY shell" "Version 0.96.5"
+.TH VTYSH 1 "27 July 2006" "Quagga VTY shell" "Version QUAGGA_VERSION"
 .SH NAME
 vtysh \- a integrated shell for Quagga routing software
 .SH SYNOPSIS
diff --git a/doc/zebra.8 b/doc/zebra.8
index da5881c..23cf39e 100644
--- a/doc/zebra.8
+++ b/doc/zebra.8
@@ -1,4 +1,4 @@
-.TH ZEBRA 8 "25 November 2004" "Zebra daemon" "Version 0.97.3"
+.TH ZEBRA 8 "25 November 2004" "Zebra daemon" "Version QUAGGA_VERSION"
 .SH NAME
 zebra \- a routing manager for use with associated Quagga components.
 .SH SYNOPSIS