Clean up automatic creation of /usr/lib.

This commit is contained in:
mycroft 1993-08-09 04:49:39 +00:00
parent 3358fdf953
commit 7ea474ac33

View File

@ -1,5 +1,5 @@
# from: @(#)Makefile 5.6 (Berkeley) 5/22/91
# $Id: Makefile,v 1.5 1993/08/01 05:41:42 mycroft Exp $
# $Id: Makefile,v 1.6 1993/08/09 04:49:39 mycroft Exp $
CFLAGS+= -DLIBC_SCCS
OBJS= crt0.o gcrt0.o
@ -26,14 +26,7 @@ gmon.o: gmon.c gmon.h
mv a.out ${.TARGET}
install:
@if [ ! -d ${DESTDIR}/usr/lib ]; then \
/bin/rm -f ${DESTDIR}/usr/lib ; \
mkdir -p ${DESTDIR}/usr/lib ; \
chown root.wheel ${DESTDIR}/usr/lib ; \
chmod 755 ${DESTDIR}/usr/lib ; \
else \
true ; \
fi
install -d -o ${BINOWN} -g ${BINGRP} -m 0755 ${DESTDIR}/usr/lib
install ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 ${OBJS} \
${DESTDIR}/usr/lib