build: Hoist man conditional higher
authorColin Walters <walters@verbum.org>
Thu, 28 Jan 2016 20:34:38 +0000 (15:34 -0500)
committerColin Walters <walters@verbum.org>
Thu, 28 Jan 2016 20:34:38 +0000 (15:34 -0500)
So we actually build with `--disable-man`.

Makefile-man.am

index 299e317784ddc2e217046821842940a4377fff47..f70a577c87dabe889f986fdbf706affeb2086111 100644 (file)
@@ -17,6 +17,8 @@
 # Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 # Boston, MA 02111-1307, USA.
 
+if ENABLE_MAN
+
 man1_files = ostree.1 ostree-admin-cleanup.1 ostree-admin-config-diff.1 ostree-admin-deploy.1 ostree-admin-init-fs.1 ostree-admin-instutil.1 ostree-admin-os-init.1 ostree-admin-status.1 ostree-admin-set-origin.1 ostree-admin-switch.1 ostree-admin-undeploy.1 ostree-admin-upgrade.1 ostree-admin.1 ostree-cat.1 ostree-checkout.1 ostree-checksum.1 ostree-commit.1 ostree-gpg-sign.1 ostree-config.1 ostree-diff.1 ostree-fsck.1 ostree-init.1 ostree-log.1 ostree-ls.1 ostree-prune.1 ostree-pull-local.1 ostree-pull.1 ostree-refs.1 ostree-remote.1 ostree-reset.1 ostree-rev-parse.1 ostree-show.1 ostree-summary.1 ostree-static-delta.1 ostree-trivial-httpd.1
 
 man5_files = ostree.repo.5 ostree.repo-config.5
@@ -26,8 +28,6 @@ man5_MANS = $(addprefix man/,$(man5_files))
 
 EXTRA_DIST += $(man1_MANS) $(man5_MANS)
 
-if ENABLE_MAN
-
 XSLT_STYLESHEET = http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
 
 XSLTPROC_FLAGS = \