build: Fix the --disable-man case
authorColin Walters <walters@verbum.org>
Thu, 16 Aug 2012 22:31:02 +0000 (18:31 -0400)
committerColin Walters <walters@verbum.org>
Thu, 16 Aug 2012 22:31:02 +0000 (18:31 -0400)
The manpage listing needs to be inside the conditional.

docs/reference/gio/Makefile.am
docs/reference/glib/Makefile.am
docs/reference/gobject/Makefile.am

index 49f726b..4167069 100644 (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 \
index ac2beb0..0ca622e 100644 (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 \
index 7483bec..051883a 100644 (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 \