LIBDIR/INCLUDEDIR do not include DESTDIR.

Reported by:	Andrzej Tobola <san@iem.pw.edu.pl>
This commit is contained in:
Jacques Vidrine 2003-02-18 17:29:04 +00:00
parent ba5637c376
commit c819173716

View File

@ -206,9 +206,9 @@ INCSDIR= ${INCLUDEDIR}/openssl
OLDSYMLINKS+= libdes.a libdes.so libdes.so.3 libdes_p.a
afterinstall:
@echo "Removing stale symlinks."
rm -f ${INCLUDEDIR}/des.h
rm -f ${DESTDIR}${INCLUDEDIR}/des.h
.for symlink in ${OLDSYMLINKS}
rm -f ${LIBDIR}/${symlink}
rm -f ${DESTDIR}${LIBDIR}/${symlink}
.endfor
.include <bsd.lib.mk>