Prevent a 'make SHARED=symlinks install' followed by 'make install' from

failing by removing the symlink before trying to install the actual files.

Noticed by:	bde
MFC after:	5 days
This commit is contained in:
gshapiro 2003-05-06 03:38:24 +00:00
parent d18bfec38d
commit ae220ed3ab

View File

@ -22,6 +22,7 @@ all clean cleandir depend lint tags:
beforeinstall: ${SHARED}
copies::
if [ -L ${DDIR}/${CFDIR} ]; then rm -f ${DDIR}/${CFDIR}; fi
.for dir in ${CFDIRS}
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 755 -d ${DDIR}/${dir}
.endfor