[gnome-keyring] Fix build when configure is called with --disable-doc



commit 9f50ef3050a4924ae95742bcd4de73342c5f2fcc
Author: Stef Walter <stefw gnome org>
Date:   Tue May 13 21:52:35 2014 +0200

    Fix build when configure is called with --disable-doc

 Makefile.am  |    5 ++++-
 configure.ac |    1 +
 2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 9f6bd2f..6b00617 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -194,7 +194,6 @@ EXTRA_DIST = \
        $(VALGRIND_SUPPRESSIONS) \
        $(NULL)
 
-include docs/Makefile.am
 include egg/Makefile.am
 include daemon/Makefile.am
 include daemon/control/Makefile.am
@@ -213,6 +212,10 @@ include pkcs11/xdg-store/Makefile.am
 include schema/Makefile.am
 include tool/Makefile.am
 
+if ENABLE_DOC
+include docs/Makefile.am
+endif
+
 if WITH_PAM
 include pam/Makefile.am
 endif
diff --git a/configure.ac b/configure.ac
index b1f858d..601026d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -672,4 +672,5 @@ echo "  Strict Compilation:   $strict_status"
 echo "  Valgrind:             $valgrind_status"
 echo "  PKCS#11 Tests         $p11_tests_status"
 echo "  Test Coverage:        $enable_coverage"
+echo "  Documentation:        $doc_status"
 echo


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]