* Honor MANDIR

This commit is contained in:
pancake 2011-07-03 13:06:16 +02:00
parent ed9a4c3584
commit cf0e1d6b6c
3 changed files with 8 additions and 6 deletions

View File

@ -55,14 +55,14 @@ pkgcfg:
cd libr && ${MAKE} pkgcfg
install-man:
mkdir -p ${PFX}/share/man/man1
for a in man/*.1 ; do ${INSTALL_MAN} $$a ${PFX}/share/man/man1 ; done
cd ${PFX}/share/man/man1 && ln -fs radare2.1 r2.1
mkdir -p ${MDR}/man1
for a in man/*.1 ; do ${INSTALL_MAN} $$a ${MDR}/man1 ; done
cd ${MDR}/man1 && ln -fs radare2.1 r2.1
install-man-symlink:
mkdir -p ${PFX}/share/man/man1
cd man && for a in *.1 ; do ln -fs ${PWD}/$$a ${PFX}/share/man/man1/$$a ; done
cd ${PFX}/share/man/man1 && ln -fs radare2.1 r2.1
mkdir -p ${MDR}/man1
cd man && for a in *.1 ; do ln -fs ${PWD}/$$a ${MDR}/man1/$$a ; done
cd ${MDR}/man1 && ln -fs radare2.1 r2.1
install-doc:
${INSTALL_DIR} ${PFX}/share/doc/radare2

View File

@ -2,6 +2,7 @@
DESTDIR=
PREFIX=@PREFIX@
MANDIR=@MANDIR@
HAVE_LIB_EWF=@HAVE_LIB_EWF@
HAVE_LIB_GMP=@HAVE_LIB_GMP@
LIL_ENDIAN=@LIL_ENDIAN@

View File

@ -19,6 +19,7 @@ VERSION=`date '+%Y%m%d'`
endif
PFX=${DESTDIR}${PREFIX}
MDR=${DESTDIR}${MANDIR}
LIBDIR=${PREFIX}/lib