diff options
author | Mike Frysinger <vapier@gentoo.org> | 2014-01-09 16:30:19 -0500 |
---|---|---|
committer | Andreas Gruenbacher <agruen@linbit.com> | 2014-01-09 23:15:09 +0100 |
commit | 7fe1068e63a995df5ecbffed4cc796c6645770c9 (patch) | |
tree | 70d0029cdba2e0eed19196525967a78446842c6b | |
parent | a4594815750f7b91a9a2715b5fe9cf684dec9012 (diff) | |
download | attr-7fe1068e63a995df5ecbffed4cc796c6645770c9.tar.gz |
disable installation of man(2) pages by default
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.
-rw-r--r-- | configure.ac | 5 | ||||
-rw-r--r-- | man/Makemodule.am | 2 |
2 files changed, 7 insertions, 0 deletions
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 |