Skip to content

Commit

Permalink
manpages: Include ovs.tmac in most man roots.
Browse files Browse the repository at this point in the history
This allows to not redefine common macroses in every single
file and allowes using things like .EX without warying about
compatibility.
manpages.mk updated automatically.

Files that are already complete pages (i.e. has no *.in sources)
wasn't touched, because this will require additional file
manipulations and changes in makefiles/specs without serious
profit.

Signed-off-by: Ilya Maximets <[email protected]>
Signed-off-by: Ben Pfaff <[email protected]>
  • Loading branch information
igsilya authored and blp committed Oct 30, 2018
1 parent b47e7e2 commit 9bccc3f
Show file tree
Hide file tree
Showing 26 changed files with 66 additions and 134 deletions.
5 changes: 0 additions & 5 deletions lib/colors.man
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
.de IQ
. br
. ns
. IP "\\$1"
..
.IP "\fB\-\-color\fR[\fB=\fR\fIwhen\fR]
.
Colorize the output (for some commands); \fIwhen\fR can be \fBnever\fR,
Expand Down
5 changes: 0 additions & 5 deletions lib/common.man
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
.de IQ
. br
. ns
. IP "\\$1"
..
.IP "\fB\-h\fR"
.IQ "\fB\-\-help\fR"
Prints a brief help message to the console.
Expand Down
5 changes: 0 additions & 5 deletions lib/ofp-version.man
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
.de IQ
. br
. ns
. IP "\\$1"
..
.IP "\fB\-O \fR[\fIversion\fR[\fB,\fIversion\fR]...]\fR"
.IQ "\fB\-\-protocols=\fR[\fIversion\fR[\fB,\fIversion\fR]...]\fR"
Sets the OpenFlow protocol versions that are allowed when establishing
Expand Down
5 changes: 0 additions & 5 deletions lib/ssl.man
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
.de IQ
. br
. ns
. IP "\\$1"
..
.IP "\fB\-p\fR \fIprivkey.pem\fR"
.IQ "\fB\-\-private\-key=\fIprivkey.pem\fR"
Specifies a PEM file containing the private key used as \fB\*(PN\fR's
Expand Down
5 changes: 0 additions & 5 deletions lib/vlog-unixctl.man
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
.de IQ
. br
. ns
. IP "\\$1"
..
.SS "VLOG COMMANDS"
These commands manage \fB\*(PN\fR's logging settings.
.IP "\fBvlog/set\fR [\fIspec\fR]"
Expand Down
5 changes: 0 additions & 5 deletions lib/vlog.man
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
.de IQ
. br
. ns
. IP "\\$1"
..
.IP "\fB\-v\fR[\fIspec\fR]
.IQ "\fB\-\-verbose=\fR[\fIspec\fR]
.
Expand Down
56 changes: 47 additions & 9 deletions manpages.mk
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,26 @@
ovn/utilities/ovn-detrace.1: \
ovn/utilities/ovn-detrace.1.in \
lib/common-syn.man \
lib/common.man
lib/common.man \
lib/ovs.tmac
ovn/utilities/ovn-detrace.1.in:
lib/common-syn.man:
lib/common.man:
lib/ovs.tmac:

ovn/utilities/ovn-sbctl.8: \
ovn/utilities/ovn-sbctl.8.in \
lib/common.man \
lib/db-ctl-base.man \
lib/ovs.tmac \
lib/ssl-bootstrap.man \
lib/ssl.man \
lib/table.man \
lib/vlog.man
ovn/utilities/ovn-sbctl.8.in:
lib/common.man:
lib/db-ctl-base.man:
lib/ovs.tmac:
lib/ssl-bootstrap.man:
lib/ssl.man:
lib/table.man:
Expand All @@ -30,6 +34,7 @@ ovsdb/ovsdb-client.1: \
lib/common.man \
lib/daemon-syn.man \
lib/daemon.man \
lib/ovs.tmac \
lib/ssl-bootstrap-syn.man \
lib/ssl-bootstrap.man \
lib/ssl-connect-syn.man \
Expand All @@ -45,6 +50,7 @@ lib/common-syn.man:
lib/common.man:
lib/daemon-syn.man:
lib/daemon.man:
lib/ovs.tmac:
lib/ssl-bootstrap-syn.man:
lib/ssl-bootstrap.man:
lib/ssl-connect-syn.man:
Expand All @@ -64,6 +70,7 @@ ovsdb/ovsdb-server.1: \
lib/daemon-syn.man \
lib/daemon.man \
lib/memory-unixctl.man \
lib/ovs.tmac \
lib/service-syn.man \
lib/service.man \
lib/ssl-bootstrap-syn.man \
Expand All @@ -86,6 +93,7 @@ lib/coverage-unixctl.man:
lib/daemon-syn.man:
lib/daemon.man:
lib/memory-unixctl.man:
lib/ovs.tmac:
lib/service-syn.man:
lib/service.man:
lib/ssl-bootstrap-syn.man:
Expand All @@ -106,54 +114,67 @@ ovsdb/ovsdb-tool.1: \
ovsdb/ovsdb-tool.1.in \
lib/common-syn.man \
lib/common.man \
lib/ovs.tmac \
lib/vlog-syn.man \
lib/vlog.man \
ovsdb/ovsdb-schemas.man
ovsdb/ovsdb-tool.1.in:
lib/common-syn.man:
lib/common.man:
lib/ovs.tmac:
lib/vlog-syn.man:
lib/vlog.man:
ovsdb/ovsdb-schemas.man:

utilities/bugtool/ovs-bugtool.8: \
utilities/bugtool/ovs-bugtool.8.in
utilities/bugtool/ovs-bugtool.8.in \
lib/ovs.tmac
utilities/bugtool/ovs-bugtool.8.in:
lib/ovs.tmac:

utilities/ovs-appctl.8: \
utilities/ovs-appctl.8.in \
lib/common.man
lib/common.man \
lib/ovs.tmac
utilities/ovs-appctl.8.in:
lib/common.man:
lib/ovs.tmac:

utilities/ovs-dpctl-top.8: \
utilities/ovs-dpctl-top.8.in
utilities/ovs-dpctl-top.8.in \
lib/ovs.tmac
utilities/ovs-dpctl-top.8.in:
lib/ovs.tmac:

utilities/ovs-dpctl.8: \
utilities/ovs-dpctl.8.in \
lib/common.man \
lib/dpctl.man \
lib/ovs.tmac \
lib/vlog.man
utilities/ovs-dpctl.8.in:
lib/common.man:
lib/dpctl.man:
lib/ovs.tmac:
lib/vlog.man:

utilities/ovs-l3ping.8: \
utilities/ovs-l3ping.8.in \
lib/common-syn.man \
lib/common.man
lib/common.man \
lib/ovs.tmac
utilities/ovs-l3ping.8.in:
lib/common-syn.man:
lib/common.man:
lib/ovs.tmac:

utilities/ovs-ofctl.8: \
utilities/ovs-ofctl.8.in \
lib/colors.man \
lib/common.man \
lib/daemon.man \
lib/ofp-version.man \
lib/ovs.tmac \
lib/ssl.man \
lib/unixctl.man \
lib/vconn-active.man \
Expand All @@ -163,6 +184,7 @@ lib/colors.man:
lib/common.man:
lib/daemon.man:
lib/ofp-version.man:
lib/ovs.tmac:
lib/ssl.man:
lib/unixctl.man:
lib/vconn-active.man:
Expand All @@ -171,34 +193,43 @@ lib/vlog.man:
utilities/ovs-pcap.1: \
utilities/ovs-pcap.1.in \
lib/common-syn.man \
lib/common.man
lib/common.man \
lib/ovs.tmac
utilities/ovs-pcap.1.in:
lib/common-syn.man:
lib/common.man:
lib/ovs.tmac:

utilities/ovs-pki.8: \
utilities/ovs-pki.8.in
utilities/ovs-pki.8.in \
lib/ovs.tmac
utilities/ovs-pki.8.in:
lib/ovs.tmac:

utilities/ovs-tcpdump.8: \
utilities/ovs-tcpdump.8.in \
lib/common.man
lib/common.man \
lib/ovs.tmac
utilities/ovs-tcpdump.8.in:
lib/common.man:
lib/ovs.tmac:

utilities/ovs-tcpundump.1: \
utilities/ovs-tcpundump.1.in \
lib/common-syn.man \
lib/common.man
lib/common.man \
lib/ovs.tmac
utilities/ovs-tcpundump.1.in:
lib/common-syn.man:
lib/common.man:
lib/ovs.tmac:

utilities/ovs-testcontroller.8: \
utilities/ovs-testcontroller.8.in \
lib/common.man \
lib/daemon.man \
lib/ofp-version.man \
lib/ovs.tmac \
lib/ssl-peer-ca-cert.man \
lib/ssl.man \
lib/unixctl.man \
Expand All @@ -209,6 +240,7 @@ utilities/ovs-testcontroller.8.in:
lib/common.man:
lib/daemon.man:
lib/ofp-version.man:
lib/ovs.tmac:
lib/ssl-peer-ca-cert.man:
lib/ssl.man:
lib/unixctl.man:
Expand All @@ -219,15 +251,18 @@ lib/vlog.man:
utilities/ovs-vlan-bug-workaround.8: \
utilities/ovs-vlan-bug-workaround.8.in \
lib/common.man \
lib/ovs.tmac \
utilities/ovs-vlan-bugs.man
utilities/ovs-vlan-bug-workaround.8.in:
lib/common.man:
lib/ovs.tmac:
utilities/ovs-vlan-bugs.man:

utilities/ovs-vsctl.8: \
utilities/ovs-vsctl.8.in \
lib/common.man \
lib/db-ctl-base.man \
lib/ovs.tmac \
lib/ssl-bootstrap.man \
lib/ssl-peer-ca-cert.man \
lib/ssl.man \
Expand All @@ -238,6 +273,7 @@ utilities/ovs-vsctl.8: \
utilities/ovs-vsctl.8.in:
lib/common.man:
lib/db-ctl-base.man:
lib/ovs.tmac:
lib/ssl-bootstrap.man:
lib/ssl-peer-ca-cert.man:
lib/ssl.man:
Expand Down Expand Up @@ -290,6 +326,7 @@ vtep/vtep-ctl.8: \
vtep/vtep-ctl.8.in \
lib/common.man \
lib/db-ctl-base.man \
lib/ovs.tmac \
lib/ssl-bootstrap.man \
lib/ssl-peer-ca-cert.man \
lib/ssl.man \
Expand All @@ -298,6 +335,7 @@ vtep/vtep-ctl.8: \
vtep/vtep-ctl.8.in:
lib/common.man:
lib/db-ctl-base.man:
lib/ovs.tmac:
lib/ssl-bootstrap.man:
lib/ssl-peer-ca-cert.man:
lib/ssl.man:
Expand Down
1 change: 1 addition & 0 deletions ovn/utilities/ovn-detrace.1.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.so lib/ovs.tmac
.TH ovn\-detrace 1 "@VERSION@" "Open vSwitch" "Open vSwitch Manual"
.
.SH NAME
Expand Down
12 changes: 1 addition & 11 deletions ovn/utilities/ovn-sbctl.8.in
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
.\" -*- nroff -*-
.de IQ
. br
. ns
. IP "\\$1"
..
.de ST
. PP
. RS -0.15in
. I "\\$1"
. RE
..
.so lib/ovs.tmac
.TH ovn\-sbctl 8 "@VERSION@" "Open vSwitch" "Open vSwitch Manual"
.\" This program's name:
.ds PN ovn\-sbctl
Expand Down
7 changes: 1 addition & 6 deletions ovsdb/ovsdb-client.1.in
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
.\" -*- nroff -*-
.de IQ
. br
. ns
. IP "\\$1"
..
.\" -*- nroff -*-
.so lib/ovs.tmac
.TH ovsdb\-client 1 "@VERSION@" "Open vSwitch" "Open vSwitch Manual"
.\" This program's name:
.ds PN ovsdb\-client
Expand Down
6 changes: 1 addition & 5 deletions ovsdb/ovsdb-server.1.in
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
.\" -*- nroff -*-
.de IQ
. br
. ns
. IP "\\$1"
..
.so lib/ovs.tmac
.TH ovsdb\-server 1 "@VERSION@" "Open vSwitch" "Open vSwitch Manual"
.\" This program's name:
.ds PN ovsdb\-server
Expand Down
7 changes: 1 addition & 6 deletions ovsdb/ovsdb-tool.1.in
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
.\" -*- nroff -*-
.de IQ
. br
. ns
. IP "\\$1"
..
.\" -*- nroff -*-
.so lib/ovs.tmac
.TH ovsdb\-tool 1 "@VERSION@" "Open vSwitch" "Open vSwitch Manual"
.ds PN ovsdb\-tool
.
Expand Down
6 changes: 1 addition & 5 deletions utilities/bugtool/ovs-bugtool.8.in
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
.\" -*- nroff -*-
.de IQ
. br
. ns
. IP "\\$1"
..
.so lib/ovs.tmac
.TH ovs\-bugtool 8 "@VERSION@" "Open vSwitch" "Open vSwitch Manual"
.\" This program's name:
.ds PN ovs\-bugtool
Expand Down
6 changes: 1 addition & 5 deletions utilities/ovs-appctl.8.in
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
.\" -*- nroff -*-
.de IQ
. br
. ns
. IP "\\$1"
..
.so lib/ovs.tmac
.TH ovs\-appctl 8 "@VERSION@" "Open vSwitch" "Open vSwitch Manual"
.ds PN ovs\-appctl
.
Expand Down
6 changes: 1 addition & 5 deletions utilities/ovs-dpctl-top.8.in
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
.de IQ
. br
. ns
. IP "\\$1"
..
.so lib/ovs.tmac
.TH ovs\-dpctl\-top "8" "@VERSION@" "Open vSwitch" "Open vSwitch Manual"
.
.SH NAME
Expand Down
6 changes: 1 addition & 5 deletions utilities/ovs-dpctl.8.in
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
.de IQ
. br
. ns
. IP "\\$1"
..
.so lib/ovs.tmac
.TH ovs\-dpctl 8 "@VERSION@" "Open vSwitch" "Open vSwitch Manual"
.ds PN ovs\-dpctl
.
Expand Down
Loading

0 comments on commit 9bccc3f

Please sign in to comment.