Replace my stale-lib cleanup with a better one. (less noisy)
Submitted by: ru
This commit is contained in:
parent
7a19c34992
commit
ccf136a93f
@ -22,7 +22,11 @@ ${lib}: ${lib}.gz.uu
|
||||
beforeinstall:
|
||||
${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} ${LIBS} \
|
||||
${DESTDIR}${LIBCOMPATDIR}/aout
|
||||
rm -f ${LIBS:S@^@${DESTDIR}${SHLIBDIR}/@}
|
||||
.for lib in ${LIBS}
|
||||
.if exists(${DESTDIR}${SHLIBDIR}/${lib})
|
||||
rm -f ${DESTDIR}${SHLIBDIR}/${lib}
|
||||
.endif
|
||||
.endfor
|
||||
|
||||
# Get all the fruit, even though we don't set PROG.
|
||||
# XXX bsd.lib.mk has fruitflies, e.g., it fails if LIBS is empty.
|
||||
|
@ -19,7 +19,11 @@ beforeinstall:
|
||||
${DESTDIR}/usr/libexec
|
||||
${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} ${LIBS} \
|
||||
${DESTDIR}${LIBCOMPATDIR}/aout
|
||||
rm -f ${LIBS:S@^@${DESTDIR}${SHLIBDIR}/@}
|
||||
.for lib in ${LIBS}
|
||||
.if exists(${DESTDIR}${SHLIBDIR}/${lib})
|
||||
rm -f ${DESTDIR}${SHLIBDIR}/${lib}
|
||||
.endif
|
||||
.endfor
|
||||
|
||||
# Get all the fruit, even though we don't set PROG.
|
||||
# XXX bsd.lib.mk has fruitflies, e.g., it fails if LIBS is empty.
|
||||
|
@ -18,7 +18,11 @@ beforeinstall:
|
||||
${DESTDIR}/usr/libexec
|
||||
${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} ${LIBS} \
|
||||
${DESTDIR}${LIBCOMPATDIR}/aout
|
||||
rm -f ${LIBS:S@^@${DESTDIR}${SHLIBDIR}/@}
|
||||
.for lib in ${LIBS}
|
||||
.if exists(${DESTDIR}${SHLIBDIR}/${lib})
|
||||
rm -f ${DESTDIR}${SHLIBDIR}/${lib}
|
||||
.endif
|
||||
.endfor
|
||||
|
||||
# Get all the fruit, even though we don't set PROG.
|
||||
# XXX bsd.lib.mk has fruitflies, e.g., it fails if LIBS is empty.
|
||||
|
@ -32,7 +32,11 @@ beforeinstall:
|
||||
@${ECHO} "libtermlib.so.2.1 -> libtermcap.so.2.1" ; \
|
||||
cd ${DESTDIR}${LIBCOMPATDIR}/aout ; \
|
||||
ln -sf libtermcap.so.2.1 libtermlib.so.2.1
|
||||
rm -f ${LIBS:S@^@${DESTDIR}${SHLIBDIR}/@}
|
||||
.for lib in ${LIBS}
|
||||
.if exists(${DESTDIR}${SHLIBDIR}/${lib})
|
||||
rm -f ${DESTDIR}${SHLIBDIR}/${lib}
|
||||
.endif
|
||||
.endfor
|
||||
|
||||
# Get all the fruit, even though we don't set PROG.
|
||||
# XXX bsd.lib.mk has fruitflies, e.g., it fails if LIBS is empty.
|
||||
|
@ -22,7 +22,11 @@ ${lib}: ${lib}.gz.uu
|
||||
beforeinstall:
|
||||
${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} ${LIBS} \
|
||||
${DESTDIR}${LIBCOMPATDIR}
|
||||
rm -f ${LIBS:S@^@${DESTDIR}${SHLIBDIR}/@}
|
||||
.for lib in ${LIBS}
|
||||
.if exists(${DESTDIR}${SHLIBDIR}/${lib})
|
||||
rm -f ${DESTDIR}${SHLIBDIR}/${lib}
|
||||
.endif
|
||||
.endfor
|
||||
|
||||
# Get all the fruit, even though we don't set PROG.
|
||||
# XXX bsd.lib.mk has fruitflies, e.g., it fails if LIBS is empty.
|
||||
|
@ -22,7 +22,11 @@ ${lib}: ${lib}.gz.uu
|
||||
beforeinstall:
|
||||
${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} ${LIBS} \
|
||||
${DESTDIR}${LIBCOMPATDIR}
|
||||
rm -f ${LIBS:S@^@${DESTDIR}${SHLIBDIR}/@}
|
||||
.for lib in ${LIBS}
|
||||
.if exists(${DESTDIR}${SHLIBDIR}/${lib})
|
||||
rm -f ${DESTDIR}${SHLIBDIR}/${lib}
|
||||
.endif
|
||||
.endfor
|
||||
|
||||
# Get all the fruit, even though we don't set PROG.
|
||||
# XXX bsd.lib.mk has fruitflies, e.g., it fails if LIBS is empty.
|
||||
|
@ -22,7 +22,11 @@ ${lib}: ${lib}.gz.uu
|
||||
beforeinstall:
|
||||
${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} ${LIBS} \
|
||||
${DESTDIR}${LIBCOMPATDIR}
|
||||
rm -f ${LIBS:S@^@${DESTDIR}${SHLIBDIR}/@}
|
||||
.for lib in ${LIBS}
|
||||
.if exists(${DESTDIR}${SHLIBDIR}/${lib})
|
||||
rm -f ${DESTDIR}${SHLIBDIR}/${lib}
|
||||
.endif
|
||||
.endfor
|
||||
|
||||
# Get all the fruit, even though we don't set PROG.
|
||||
# XXX bsd.lib.mk has fruitflies, e.g., it fails if LIBS is empty.
|
||||
|
Loading…
Reference in New Issue
Block a user