Преглед изворни кода

build: fix make dist to include xml man pages

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Jan Friesse <jfriesse@redhat.com>
Fabio M. Di Nitto пре 14 година
родитељ
комит
4c3aab9caf
1 измењених фајлова са 5 додато и 4 уклоњено
  1. 5 4
      man/Makefile.am

+ 5 - 4
man/Makefile.am

@@ -34,10 +34,8 @@
 
 MAINTAINERCLEANFILES	= Makefile.in
 
-if INSTALL_XMLCONF
 xml_man			= corosync-xmlproc.8 \
 			  corosync.xml.5
-endif
 
 INDEX_HTML		= index.html
 
@@ -125,8 +123,7 @@ EXTRA_DIST		= $(INDEX_HTML) \
 
 man_MANS		= $(autogen_man)
 
-dist_man_MANS 		= $(xml_man) \
-			  corosync.conf.5 \
+dist_man_MANS 		= corosync.conf.5 \
 			  votequorum.5 \
 			  corosync.8 \
 			  corosync-cmapctl.8 \
@@ -146,6 +143,10 @@ dist_man_MANS 		= $(xml_man) \
 			  sam_overview.8 \
 			  cmap_overview.8
 
+if INSTALL_XMLCONF
+dist_man_MANS		+= $(xml_man)
+endif
+
 HTML_DOCS 		= $(dist_man_MANS:%=%.html) $(man_MANS:%=%.html)
 
 # developer man page generation