acl-devel
[Top][All Lists]
Advanced

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

[Acl-devel] [PATCH attr 6/6 v2] disable installation of man(2) pages by


From: Mike Frysinger
Subject: [Acl-devel] [PATCH attr 6/6 v2] disable installation of man(2) pages by default
Date: Thu, 9 Jan 2014 16:30:19 -0500

Normally the Linux man-pags project maintains pages for all Linux
system calls, and they've long ago added pages for these.  That
means distros trying to install both hit collisions.

Add a flag so people can still enable them if they want, but default
to off since the man-pages project covers things.
---
 configure.ac      | 5 +++++
 man/Makemodule.am | 2 ++
 2 files changed, 7 insertions(+)

diff --git a/configure.ac b/configure.ac
index 5b15869..dd71c1b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -36,6 +36,11 @@ LT_INIT
 AM_GNU_GETTEXT_VERSION([0.18.2])
 AM_GNU_GETTEXT([external])
 
+dnl Most people get these man(2) pages from the system now.
+AC_ARG_ENABLE([man2],
+       [AS_HELP_STRING([--enable-man2], [Install man(2) pages])])
+AM_CONDITIONAL([ENABLE_MAN2], [test "x$enable_man2" = "xyes"])
+
 AC_ARG_ENABLE([debug],
        [AS_HELP_STRING([--enable-debug], [Enable extra debugging])])
 AS_IF([test "x$enable_debug" = "xyes"],
diff --git a/man/Makemodule.am b/man/Makemodule.am
index 18cb279..8882c43 100644
--- a/man/Makemodule.am
+++ b/man/Makemodule.am
@@ -1,5 +1,7 @@
 include man/man1/Makemodule.am
+if ENABLE_MAN2
 include man/man2/Makemodule.am
+endif
 include man/man3/Makemodule.am
 include man/man5/Makemodule.am
 
-- 
1.8.4.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]