Define mandir as $(PREFIX)/share/man rather than as $(PREFIX)/man

to better comply with the FHS.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 10508 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Stefano Sabatini 2007-09-16 17:44:49 +00:00 committed by Diego Biurrun
parent 1fe2d0fd1a
commit 4ca5ece51e

4
configure vendored
View File

@ -61,7 +61,7 @@ show_help(){
echo " --libdir=DIR install libs in DIR [PREFIX/lib]" echo " --libdir=DIR install libs in DIR [PREFIX/lib]"
echo " --shlibdir=DIR install shared libs in DIR [PREFIX/lib]" echo " --shlibdir=DIR install shared libs in DIR [PREFIX/lib]"
echo " --incdir=DIR install includes in DIR [PREFIX/include/ffmpeg]" echo " --incdir=DIR install includes in DIR [PREFIX/include/ffmpeg]"
echo " --mandir=DIR install man page in DIR [PREFIX/man]" echo " --mandir=DIR install man page in DIR [PREFIX/share/man]"
echo " --enable-static build static libraries [default=yes]" echo " --enable-static build static libraries [default=yes]"
echo " --disable-static do not build static libraries [default=no]" echo " --disable-static do not build static libraries [default=no]"
echo " --enable-shared build shared libraries [default=no]" echo " --enable-shared build shared libraries [default=no]"
@ -825,7 +825,7 @@ PREFIX="/usr/local"
libdir='$(PREFIX)/lib' libdir='$(PREFIX)/lib'
shlibdir="$libdir" shlibdir="$libdir"
incdir='$(PREFIX)/include/ffmpeg' incdir='$(PREFIX)/include/ffmpeg'
mandir='$(PREFIX)/man' mandir='$(PREFIX)/share/man'
bindir='$(PREFIX)/bin' bindir='$(PREFIX)/bin'
# toolchain # toolchain