forked from radareorg/radare2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use DOCDIR in configure (radareorg#7034)
This allows users to specify where to install the documentation
- Loading branch information
Showing
3 changed files
with
13 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -102,7 +102,7 @@ create_environ() { | |
: ${DATADIR:="${SPREFIX}/share"} | ||
: ${INFODIR:="${DATADIR}/info"} | ||
: ${MANDIR:="${DATADIR}/man"} | ||
: ${DOCDIR:="${DOCDIR}/man"} | ||
: ${DOCDIR:="${DATADIR}/doc/radare2"} | ||
: ${LOCALSTATEDIR:="${SPREFIX}/var"} | ||
for A in `echo ${PATH} | sed -e 's,:, ,g'` ; do | ||
[ -e "$A"/ginstall ] && : ${INSTALL:="$A"/ginstall} && break | ||
|
@@ -143,7 +143,6 @@ Fine tuning of the installation directories: | |
--bindir=DIR user executables [EPREFIX/bin] | ||
--sbindir=DIR system admin executables [EPREFIX/sbin] | ||
--libexecdir=DIR program executables [EPREFIX/libexec] | ||
--docdir=DIR documentation directory [PREFIX/doc] | ||
--datadir=DIR read-only architecture-independent data [PREFIX/share] | ||
--sysconfdir=DIR read-only single-machine data [PREFIX/etc] | ||
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | ||
|
@@ -153,15 +152,15 @@ Fine tuning of the installation directories: | |
--includedir=DIR C header files [PREFIX/include] | ||
--infodir=DIR info documentation [DATADIR/info] | ||
--mandir=DIR man documentation [DATADIR/man] | ||
--docdir=DIR documentation directory [DATADIR/doc/radare2] | ||
System types: | ||
--build=BUILD configure for building on BUILD [guessed] | ||
--host=HOST cross-compile to build programs to run on HOST [BUILD] | ||
--target=TARGET configure for building compilers for TARGET [HOST] | ||
EOF2 | ||
|
||
printf " | ||
Optional Features: | ||
printf "\nOptional Features: | ||
--disable-debugger disable native debugger features | ||
--with-sysmagic force to use system's magic | ||
--disable-loadlibs disable loading plugins | ||
|
@@ -175,21 +174,17 @@ Optional Features: | |
--with-ostype Choose OS type ( gnulinux windows darwin haiku ) (USEROSTYPE=auto) | ||
--without-pic do not build libr as a program independent location | ||
--with-nonpic build the library archives .a | ||
--with-libversion specify different libversion (LIBVERSION=xxx) | ||
" | ||
printf " | ||
Some influential environment variables: | ||
--with-libversion specify different libversion (LIBVERSION=xxx)\n" | ||
printf "\nSome influential environment variables: | ||
CC C compiler command | ||
CFLAGS C compiler flags | ||
CPPFLAGS C preprocessor flags | ||
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | ||
nonstandard directory <lib dir> | ||
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have | ||
headers in a nonstandard directory <include dir> | ||
CPP C preprocessor | ||
" | ||
printf " | ||
Report bugs to: pancake <[email protected]>" | ||
CPP C preprocessor\n" | ||
printf "\nReport bugs to: pancake <[email protected]>" | ||
echo "" | ||
exit 0 | ||
} | ||
|