Yet another attempt to remove the old libraries correctly. libfoo.*

was misnamed foo.*.
This commit is contained in:
bde 1996-10-08 20:06:41 +00:00
parent 04838bc55a
commit 50390e5cdf
2 changed files with 7 additions and 5 deletions

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.8 1996/09/27 12:10:08 peter Exp $
# $Id: Makefile,v 1.9 1996/09/27 16:22:37 bde Exp $
LIB= gnumalloc
INTERNALLIB= yes # Do not build or install ${LIB}*.a
@ -16,8 +16,9 @@ SRCS= cfree.c
# you to run programs that were linked with -lgnumalloc (such as XFree86).
#
beforeinstall:
rm -f ${DESTDIR}${LIBDIR}/${LIB}.a ${DESTDIR}${LIBDIR}/${LIB}_p.a \
${DESTDIR}${ORIG_SHLIBDIR}/${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR}
rm -f ${DESTDIR}${LIBDIR}/lib${LIB}.a \
${DESTDIR}${LIBDIR}/lib${LIB}_p.a \
${DESTDIR}${ORIG_SHLIBDIR}/lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR}
.include <bsd.lib.mk>

View File

@ -18,8 +18,9 @@ SRCS= fakelib.c
# libresolv on FreeBSD-2.x **never did anything**!!
#
beforeinstall:
rm -f ${DESTDIR}${LIBDIR}/${LIB}.a ${DESTDIR}${LIBDIR}/${LIB}_p.a \
${DESTDIR}${ORIG_SHLIBDIR}/${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR}
rm -f ${DESTDIR}${LIBDIR}/lib${LIB}.a \
${DESTDIR}${LIBDIR}/lib${LIB}_p.a \
${DESTDIR}${ORIG_SHLIBDIR}/lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR}
.include <bsd.lib.mk>