man: convert nmcli(1) manual to docbook refentry

This commit is contained in:
Lubomir Rintel
2016-03-28 14:32:30 +02:00
parent 05e467ad53
commit b19e4d37b6
6 changed files with 3121 additions and 1285 deletions

View File

@@ -961,6 +961,7 @@ GTK_DOC_CHECK(1.0)
# check for pregenerated manpages to be installed # check for pregenerated manpages to be installed
install_pregen_manpages=no install_pregen_manpages=no
if test "$enable_gtk_doc" != "yes" \ if test "$enable_gtk_doc" != "yes" \
-a -f man/nmcli.1 \
-a -f man/NetworkManager.conf.5 \ -a -f man/NetworkManager.conf.5 \
-a -f man/nm-settings.5 \ -a -f man/nm-settings.5 \
-a -f man/nm-settings-keyfile.5 \ -a -f man/nm-settings-keyfile.5 \
@@ -1076,7 +1077,6 @@ introspection/all.xml
man/Makefile man/Makefile
man/nm-system-settings.conf.5 man/nm-system-settings.conf.5
man/nm-online.1 man/nm-online.1
man/nmcli.1
man/nmtui.1 man/nmtui.1
po/Makefile.in po/Makefile.in
policy/Makefile policy/Makefile

View File

@@ -80,6 +80,7 @@ content_files = \
$(top_builddir)/introspection/nmdbus-settings-org.freedesktop.NetworkManager.Settings.xml \ $(top_builddir)/introspection/nmdbus-settings-org.freedesktop.NetworkManager.Settings.xml \
$(top_builddir)/introspection/nmdbus-device-ethernet-org.freedesktop.NetworkManager.Device.Wired.xml \ $(top_builddir)/introspection/nmdbus-device-ethernet-org.freedesktop.NetworkManager.Device.Wired.xml \
$(top_builddir)/introspection/nmdbus-ip4-config-org.freedesktop.NetworkManager.IP4Config.xml \ $(top_builddir)/introspection/nmdbus-ip4-config-org.freedesktop.NetworkManager.IP4Config.xml \
$(top_builddir)/man/nmcli.xml \
$(top_builddir)/man/NetworkManager.xml \ $(top_builddir)/man/NetworkManager.xml \
$(top_builddir)/man/NetworkManager.conf.xml \ $(top_builddir)/man/NetworkManager.conf.xml \
$(top_builddir)/man/nmcli-examples.xml \ $(top_builddir)/man/nmcli-examples.xml \

View File

@@ -144,6 +144,7 @@
<chapter id="manpages"> <chapter id="manpages">
<title>UNIX Manual Pages</title> <title>UNIX Manual Pages</title>
<xi:include href="../../man/nmcli.xml"/>
<xi:include href="../../man/NetworkManager.xml"/> <xi:include href="../../man/NetworkManager.xml"/>
<xi:include href="../../man/NetworkManager.conf.xml"/> <xi:include href="../../man/NetworkManager.conf.xml"/>
<xi:include href="../../man/nmcli-examples.xml"/> <xi:include href="../../man/nmcli-examples.xml"/>

View File

@@ -17,12 +17,15 @@ XSLTPROC_MAN_FLAGS = \
if ENABLE_GTK_DOC if ENABLE_GTK_DOC
%.8: %.xml %.1: %.xml
$(AM_V_GEN) xsltproc $(XSLTPROC_MAN_FLAGS) $< $(AM_V_GEN) xsltproc $(XSLTPROC_MAN_FLAGS) $<
%.5: %.xml %.5: %.xml
$(AM_V_GEN) xsltproc $(XSLTPROC_MAN_FLAGS) $< $(AM_V_GEN) xsltproc $(XSLTPROC_MAN_FLAGS) $<
%.8: %.xml
$(AM_V_GEN) xsltproc $(XSLTPROC_MAN_FLAGS) $<
endif endif
CLEANFILES += NetworkManager.conf.xml CLEANFILES += NetworkManager.conf.xml
@@ -66,12 +69,12 @@ CLEANFILES += \
endif endif
configure_generated_man_pages = \ configure_generated_man_pages = \
nmcli.1 \
nmtui.1 \ nmtui.1 \
nm-online.1 \ nm-online.1 \
nm-system-settings.conf.5 nm-system-settings.conf.5
docbook_generated_man_pages = \ docbook_generated_man_pages = \
nmcli.1 \
NetworkManager.8 \ NetworkManager.8 \
NetworkManager.conf.5 \ NetworkManager.conf.5 \
nmcli-examples.5 nmcli-examples.5

File diff suppressed because it is too large Load Diff

3113
man/nmcli.xml Normal file

File diff suppressed because it is too large Load Diff