Use beforeinstall' target instead of install' target so that the links

get installed.

The `install' target should only be overridden when the default one would
do something wrong and you're too lazy to fix the default one.
This commit is contained in:
Bruce Evans 1996-12-31 02:38:28 +00:00
parent b2a1dd44dc
commit a1e71a0d14
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=21121

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.3 1996/12/28 17:42:46 peter Exp $ # $Id: Makefile,v 1.4 1996/12/30 07:31:43 jkh Exp $
DISTRIBUTION= compat1x DISTRIBUTION= compat1x
@ -9,8 +9,7 @@ LIBS= libc.so.1.1 libcurses.so.1.1 libf2c.so.1.1 libg++.so.1.1 \
libutil.so.1.1 liby.so.1.1 libutil.so.1.1 liby.so.1.1
CLEANFILES+= ${LIBS} CLEANFILES+= ${LIBS}
LINKS= ${LIBCOMPATDIR}/libtermcap.so.1.1 \ LINKS= ${LIBCOMPATDIR}/libtermcap.so.1.1 ${LIBCOMPATDIR}/libtermlib.so.1.1
${LIBCOMPATDIR}/libtermlib.so.1.1
all: ${LIBS} all: ${LIBS}
@ -19,7 +18,7 @@ ${lib}: ${lib}.gz.uu
uudecode -p ${.CURDIR}/${lib}.gz.uu | gunzip > ${lib} uudecode -p ${.CURDIR}/${lib}.gz.uu | gunzip > ${lib}
.endfor .endfor
install: beforeinstall:
${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} ${LIBS} \ ${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} ${LIBS} \
${DESTDIR}${LIBCOMPATDIR} ${DESTDIR}${LIBCOMPATDIR}