[glib] build: Fix the --disable-man case
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] build: Fix the --disable-man case
- Date: Thu, 16 Aug 2012 22:32:35 +0000 (UTC)
commit aa50b8aec31df6951070ed9674ab3b14dc6d2759
Author: Colin Walters <walters verbum org>
Date: Thu Aug 16 18:31:02 2012 -0400
build: Fix the --disable-man case
The manpage listing needs to be inside the conditional.
docs/reference/gio/Makefile.am | 8 +++++---
docs/reference/glib/Makefile.am | 8 +++++---
docs/reference/gobject/Makefile.am | 7 +++++--
3 files changed, 15 insertions(+), 8 deletions(-)
---
diff --git a/docs/reference/gio/Makefile.am b/docs/reference/gio/Makefile.am
index 49f726b..4167069 100644
--- a/docs/reference/gio/Makefile.am
+++ b/docs/reference/gio/Makefile.am
@@ -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 \
diff --git a/docs/reference/glib/Makefile.am b/docs/reference/glib/Makefile.am
index ac2beb0..0ca622e 100644
--- a/docs/reference/glib/Makefile.am
+++ b/docs/reference/glib/Makefile.am
@@ -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 \
diff --git a/docs/reference/gobject/Makefile.am b/docs/reference/gobject/Makefile.am
index 7483bec..051883a 100644
--- a/docs/reference/gobject/Makefile.am
+++ b/docs/reference/gobject/Makefile.am
@@ -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 \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]