mirror of
https://git.tukaani.org/xz.git
synced 2024-04-04 12:36:23 +02:00
Build: Add --disable-doc to configure.
This commit is contained in:
parent
3d4575f236
commit
ba3b5dd082
3 changed files with 14 additions and 0 deletions
6
INSTALL
6
INSTALL
|
@ -253,6 +253,12 @@ XZ Utils Installation
|
||||||
Don't install the scripts xzdiff, xzgrep, xzmore, xzless,
|
Don't install the scripts xzdiff, xzgrep, xzmore, xzless,
|
||||||
and their symlinks.
|
and their symlinks.
|
||||||
|
|
||||||
|
--disable-doc
|
||||||
|
Don't install the documentation files to $docdir
|
||||||
|
(often /usr/doc/xz or /usr/local/doc/xz). Man pages
|
||||||
|
will still be installed. The $docdir can be changed
|
||||||
|
with --docdir=DIR.
|
||||||
|
|
||||||
--disable-assembler
|
--disable-assembler
|
||||||
liblzma includes some assembler optimizations. Currently
|
liblzma includes some assembler optimizations. Currently
|
||||||
there is only assembler code for CRC32 and CRC64 for
|
there is only assembler code for CRC32 and CRC64 for
|
||||||
|
|
|
@ -17,6 +17,7 @@ endif
|
||||||
|
|
||||||
SUBDIRS += src po tests
|
SUBDIRS += src po tests
|
||||||
|
|
||||||
|
if COND_DOC
|
||||||
dist_doc_DATA = \
|
dist_doc_DATA = \
|
||||||
AUTHORS \
|
AUTHORS \
|
||||||
COPYING \
|
COPYING \
|
||||||
|
@ -42,6 +43,7 @@ examplesolddir = $(docdir)/examples_old
|
||||||
dist_examplesold_DATA = \
|
dist_examplesold_DATA = \
|
||||||
doc/examples_old/xz_pipe_comp.c \
|
doc/examples_old/xz_pipe_comp.c \
|
||||||
doc/examples_old/xz_pipe_decomp.c
|
doc/examples_old/xz_pipe_decomp.c
|
||||||
|
endif
|
||||||
|
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
extra \
|
extra \
|
||||||
|
|
|
@ -402,6 +402,12 @@ AC_ARG_ENABLE([scripts], [AC_HELP_STRING([--disable-scripts],
|
||||||
[], [enable_scripts=yes])
|
[], [enable_scripts=yes])
|
||||||
AM_CONDITIONAL([COND_SCRIPTS], [test x$enable_scripts != xno])
|
AM_CONDITIONAL([COND_SCRIPTS], [test x$enable_scripts != xno])
|
||||||
|
|
||||||
|
AC_ARG_ENABLE([doc], [AC_HELP_STRING([--disable-doc],
|
||||||
|
[do not install documentation files to docdir
|
||||||
|
(man pages will still be installed)])],
|
||||||
|
[], [enable_doc=yes])
|
||||||
|
AM_CONDITIONAL([COND_DOC], [test x$enable_doc != xno])
|
||||||
|
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# Checks for programs.
|
# Checks for programs.
|
||||||
|
|
Loading…
Reference in a new issue