summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2001-11-03 06:33:08 +0000
committerpeter <peter@FreeBSD.org>2001-11-03 06:33:08 +0000
commit61939947189c6803340b706cd2f7ed8b60cc6f6b (patch)
tree94cb46db224a9da2fa255dd4b32c81e897e78ab9 /lib
parentaf02d0d48fed739c4c1c1675500dcf4522bfac10 (diff)
downloadFreeBSD-src-61939947189c6803340b706cd2f7ed8b60cc6f6b.zip
FreeBSD-src-61939947189c6803340b706cd2f7ed8b60cc6f6b.tar.gz
Do not fail doing rm -f ${DESTDIR}${LIBDIR}/lib${LIB}.a if the
intermediate directories dont exist. (eg: when building standalone includes, using the beforeinstall target in src/lib)
Diffstat (limited to 'lib')
-rw-r--r--lib/libgnumalloc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libgnumalloc/Makefile b/lib/libgnumalloc/Makefile
index cddf5ba..8201a84 100644
--- a/lib/libgnumalloc/Makefile
+++ b/lib/libgnumalloc/Makefile
@@ -20,7 +20,7 @@ NOPIC= true
# you to run programs that were linked with -lgnumalloc (such as XFree86).
#
beforeinstall:
- rm -f ${DESTDIR}${LIBDIR}/lib${LIB}.a \
+ -rm -f ${DESTDIR}${LIBDIR}/lib${LIB}.a \
${DESTDIR}${LIBDIR}/lib${LIB}_p.a \
${DESTDIR}${ORIG_SHLIBDIR}/lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
${DESTDIR}/usr/lib/compat/lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
OpenPOWER on IntegriCloud