blob: 74d36f1bf1ddabf709777177225cfad365e5646f [file] [log] [blame]
diff -aruN a/lsof_4.84_src/dialects/linux/Makefile b/lsof_4.84_src/dialects/linux/Makefile
--- a/lsof_4.84_src/dialects/linux/Makefile 2008-04-15 06:30:04.000000000 -0700
+++ b/lsof_4.84_src/dialects/linux/Makefile 2010-09-08 12:07:58.000000000 -0700
@@ -5,9 +5,9 @@
PROG= lsof
-BIN= ${DESTDIR}
+BIN= ${DESTDIR}/usr/bin
-DOC= ${DESTDIR}
+DOC= ${DESTDIR}/usr/share/man/man8
I=/usr/include
S=/usr/include/sys
@@ -51,23 +51,10 @@
(cd lib; ${MAKE} -f Makefile.skel clean)
install: all FRC
- @echo ''
- @echo 'Please write your own install rule. Lsof should be installed'
- @echo 'setuid to root if you wish any lsof user to be able to examine'
- @echo 'all open files. Your install rule actions might look something'
- @echo 'like this:'
- @echo ''
- @echo ' install -m 4xxx -o root -g $${GRP} $${PROG} $${BIN}'
- @echo ' install -m 444 $${MAN} $${DOC}'
- @echo ''
- @echo 'You will have to complete the 4xxx modes, the GRP value, and'
- @echo 'the skeletons for the BIN and DOC strings, given at the'
- @echo 'beginning of this Makefile, e.g.,'
- @echo ''
- @echo ' BIN= $${DESTDIR}/usr/local/etc'
- @echo ' DOC= $${DESTDIR}/usr/man/man8'
- @echo ' GRP= sys'
- @echo ''
+ mkdir -p ${BIN}
+ install ${PROG} ${BIN}
+ mkdir -p ${DOC}
+ install ${MAN} ${DOC}
${LIB}: FRC
(cd lib; ${MAKE} DEBUG="${DEBUG}" CFGF="${CFGF}")