diff mbox

polkit: don't build documentation and examples

Message ID 1359299240-19915-1-git-send-email-thomas.petazzoni@free-electrons.com
State Accepted
Commit e69cf9411d4f15abdee9ede99a21650c86de4830
Headers show

Commit Message

Thomas Petazzoni Jan. 27, 2013, 3:07 p.m. UTC
Building the manpages of polkit fails with issues in xsltproc. Since
we are generally not that much interested in documentation, we disable
them. This solves the build issues like
http://autobuild.buildroot.org/results/751b71a594fa04924c7c3bb8f2c460ce1e44aa90/build-end.log.

While we're at it, we also disable the build of the polkit example
programs.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/polkit/polkit.mk |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comments

Peter Korsgaard Jan. 27, 2013, 4:21 p.m. UTC | #1
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 Thomas> Building the manpages of polkit fails with issues in xsltproc. Since
 Thomas> we are generally not that much interested in documentation, we disable
 Thomas> them. This solves the build issues like
 Thomas> http://autobuild.buildroot.org/results/751b71a594fa04924c7c3bb8f2c460ce1e44aa90/build-end.log.

 Thomas> While we're at it, we also disable the build of the polkit example
 Thomas> programs.

Committed, thanks.
diff mbox

Patch

diff --git a/package/polkit/polkit.mk b/package/polkit/polkit.mk
index 3eb0422..54782dd 100644
--- a/package/polkit/polkit.mk
+++ b/package/polkit/polkit.mk
@@ -16,6 +16,8 @@  POLKIT_DEPENDENCIES = libglib2 host-intltool expat
 # We could also support --with-authfw=pam
 POLKIT_CONF_OPT = \
 	--with-authfw=shadow \
-	--with-os-type=unknown
+	--with-os-type=unknown \
+	--disable-man-pages \
+	--disable-examples
 
 $(eval $(autotools-package))