Added ${DESTDIR} to all the naked install commands w/out them.
This commit is contained in:
parent
47dee7af0b
commit
3244235258
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=186
@ -29,9 +29,9 @@ ${MANP}: ${.CURDIR}/apropos.man
|
||||
${.CURDIR}/apropos.man > $@
|
||||
|
||||
install: ${TARG} maninstall
|
||||
install -c -o bin -g bin -m 555 ${TARG} /usr/bin
|
||||
install -c -o bin -g bin -m 555 ${TARG} ${DESTDIR}/usr/bin
|
||||
|
||||
maninstall: ${MANP}
|
||||
install -c -o bin -g bin -m 444 ${MANP} /usr/share/man/man1
|
||||
install -c -o bin -g bin -m 444 ${MANP} ${DESTDIR}/usr/share/man/man1
|
||||
|
||||
.include "../Makefile.inc"
|
||||
|
@ -2,6 +2,6 @@ obj cleandir clean depend rcsfreeze tags all:
|
||||
@echo -n
|
||||
|
||||
install:
|
||||
install -c -o bin -g bin -m 555 catman /usr/bin
|
||||
install -c -o bin -g bin -m 555 catman ${DESTDIR}/usr/bin
|
||||
|
||||
.include "../Makefile.inc"
|
||||
|
@ -16,7 +16,7 @@ clean:
|
||||
@rm -f ${TARG}
|
||||
|
||||
install:
|
||||
install -c -o bin -g bin -m 555 ${TARG} /usr/bin
|
||||
install -c -o bin -g bin -m 555 ${TARG} ${DESTDIR}/usr/bin
|
||||
|
||||
${TARG}: ${.CURDIR}/makewhatis.sh
|
||||
sed -e 's/%sections%/ "1", "n", "l", "6", "8", "2", "3", "4", "5", "7", "p", "o", NULL/' ${.CURDIR}/makewhatis.sh > ${TARG}
|
||||
|
@ -29,9 +29,9 @@ ${MANP}: ${.CURDIR}/whatis.man
|
||||
${.CURDIR}/whatis.man > ${MANP}
|
||||
|
||||
install: ${TARG} maninstall
|
||||
install -c -o bin -g bin -m 555 ${TARG} /usr/bin
|
||||
install -c -o bin -g bin -m 555 ${TARG} ${DESTDIR}/usr/bin
|
||||
|
||||
maninstall: ${MANP}
|
||||
install -c -o bin -g bin -m 444 ${MANP} /usr/share/man/man1
|
||||
install -c -o bin -g bin -m 444 ${MANP} ${DESTDIR}/usr/share/man/man1
|
||||
|
||||
.include "../Makefile.inc"
|
||||
|
Loading…
Reference in New Issue
Block a user