man: allow installing pre-built manual pages if we can't build it

If we have ENABLE_GTK_DOCS, but not BUILD_SETTING_DOCS, nm-settings.5
nm-settings-keyfile.5 and nm-settings-ifcfg-rh.5 would not be installed.

(It happened on RHEL 7 build, due to missing BuildRequires: pygobject3-base)
This commit is contained in:
Jiří Klimeš 2014-12-11 15:42:12 +01:00
parent a1f4794c86
commit da4a98bfbb

View file

@ -98,7 +98,7 @@ uninstall-hook:
if ENABLE_GTK_DOC
man_MANS += $(docbook_generated_man_pages)
CLEANFILES += $(docbook_generated_man_pages)
if BUILD_SETTING_DOCS
if SETTING_DOCS_AVAILABLE
man_MANS += $(docbook_autogenerated_man_pages)
CLEANFILES += $(docbook_autogenerated_man_pages)
endif