Cleanup so that make install can run, many install: maninstall changed

to just install:, sperious targets and CLEANFILES removed.
This commit is contained in:
rgrimes 1994-05-30 14:17:23 +00:00
parent e8f98d84dd
commit dff4da98c8
8 changed files with 16 additions and 29 deletions

View File

@ -9,7 +9,8 @@ CLEANFILES=ar.5.0
ar.0: ar.5.0
afterinstall:
# XXX BROKEN: afterinstall:
XXXafterinstall:
install -c -o ${MANOWN} -g ${MANGRP} -m ${MANMODE} ar.5.0 \
${DESTDIR}${MANDIR}5/ar.0

View File

@ -3,12 +3,13 @@
PROG= id
MAN1= id.0 groups.0 whoami.0
# XXX BROKEN: afterinstall:
afterinstall:
install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
${.CURDIR}/groups.sh ${DESTDIR}/usr/bin/groups
install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
${.CURDIR}/whoami.sh ${DESTDIR}/usr/bin/whoami
${MINSTALL} groups.0 ${DESTDIR}${MANDIR}1/groups.0
${MINSTALL} whoami.0 ${DESTDIR}${MANDIR}1/whoami.0
#XXX ${MINSTALL} groups.0 ${DESTDIR}${MANDIR}1/groups.0
#XXX ${MINSTALL} whoami.0 ${DESTDIR}${MANDIR}1/whoami.0
.include <bsd.prog.mk>

View File

@ -2,9 +2,8 @@
MAN1= lorder.0
install: maninstall
install:
install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
${.CURDIR}/lorder.sh ${DESTDIR}/${BINDIR}/lorder
.include <bsd.prog.mk>
.include <bsd.man.mk>

View File

@ -2,16 +2,8 @@
MAN1= pagesize.0
all pagesize: ${MAN1}
clean depend lint tags:
cleandir:
rm -f ${MAN1}
install: maninstall
install:
install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
${.CURDIR}/pagesize.sh ${DESTDIR}/${BINDIR}/pagesize
.include <bsd.prog.mk>
.include <bsd.man.mk>

View File

@ -5,12 +5,14 @@ SRCS= archive.c build.c misc.c ranlib.c touch.c
CFLAGS+=-I${.CURDIR} -I${.CURDIR}/../ar
MAN1= ranlib.0
VPATH= ${.CURDIR}/../ar
CLEANFILES=ranlib.5.0
ranlib.0: ranlib.5.0
# XXX BROKEN: manual pages
# XXX CLEANFILES=ranlib.5.0
afterinstall:
install -c -o ${MANOWN} -g ${MANGRP} -m ${MANMODE} ranlib.5.0 \
${DESTDIR}${MANDIR}5/ranlib.0
# XXX ranlib.0: ranlib.5.0
# XXX afterinstall:
# XXX install -c -o ${MANOWN} -g ${MANGRP} -m ${MANMODE} ranlib.5.0 \
# XXX ${DESTDIR}${MANDIR}5/ranlib.0
.include <bsd.prog.mk>

View File

@ -2,13 +2,6 @@
MAN1= shar.0
all shar: ${MAN1}
clean depend lint tags:
cleandir:
rm -f ${MAN1}
beforeinstall:
install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
${.CURDIR}/shar.sh ${DESTDIR}/usr/bin/shar

View File

@ -2,10 +2,9 @@
PROG= strip
install: maninstall
install:
install -c -o ${BINOWN} -g ${BINOWN} -m ${BINMODE} strip \
${DESTDIR}${BINDIR}
./strip ${DESTDIR}${BINDIR}/strip
rm -f ./strip
.include <bsd.prog.mk>

View File

@ -5,7 +5,7 @@ SRCS= stat_flags.c xinstall.c
MAN1= install.0
.PATH: ${.CURDIR}/../../bin/ls
install: maninstall
install:
install ${STRIP} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
${PROG} ${DESTDIR}${BINDIR}/install