build: Fix the --disable-man case

The manpage listing needs to be inside the conditional.
This commit is contained in:
Colin Walters 2012-08-16 18:31:02 -04:00
parent d7e1d51fc9
commit aa50b8aec3
3 changed files with 15 additions and 8 deletions

View File

@ -142,7 +142,11 @@ include $(top_srcdir)/gtk-doc.make
EXTRA_DIST += \
version.xml.in
man_MANS = \
man_MANS =
if ENABLE_MAN
man_MANS += \
gio-querymodules.1 \
glib-compile-schemas.1 \
glib-compile-resources.1 \
@ -151,8 +155,6 @@ man_MANS = \
gdbus.1 \
gdbus-codegen.1
if ENABLE_MAN
XSLTPROC_FLAGS = \
--nonet \
--stringparam man.output.quietly 1 \

View File

@ -94,13 +94,15 @@ EXTRA_DIST += \
########################################################################
man_MANS = \
man_MANS =
if ENABLE_MAN
man_MANS += \
glib-gettextize.1 \
gtester.1 \
gtester-report.1
if ENABLE_MAN
XSLTPROC_FLAGS = \
--nonet \
--stringparam man.output.quietly 1 \

View File

@ -69,12 +69,15 @@ EXTRA_DIST += \
########################################################################
man_MANS = \
man_MANS =
if ENABLE_MAN
man_MANS += \
glib-mkenums.1 \
glib-genmarshal.1 \
gobject-query.1
if ENABLE_MAN
XSLTPROC_FLAGS = \
--nonet \