build: install nm-settings-ifcfg-rh.5 man page conditionally

Only install nm-settings-ifcfg-rh.5 man page if the ifcfg-rh
configuration plugin has been enabled.

But still add them to EXTRA_DIST so that the source tarball
contains the generated man-file, but it isn't installed.

https://bugzilla.gnome.org/show_bug.cgi?id=759823
This commit is contained in:
Michael Biebl 2016-01-22 23:39:33 +00:00 committed by Thomas Haller
parent c94a9372fa
commit b72cdb75d8

View file

@ -78,8 +78,13 @@ docbook_generated_man_pages = \
docbook_autogenerated_man_pages = \
nm-settings.5 \
nm-settings-keyfile.5 \
nm-settings-ifcfg-rh.5
nm-settings-keyfile.5
if CONFIG_PLUGIN_IFCFG_RH
docbook_autogenerated_man_pages += nm-settings-ifcfg-rh.5
else
EXTRA_DIST += nm-settings-ifcfg-rh.5
endif
EXTRA_DIST += \
nm-settings.xml \