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)
This commit is contained in:
Peter Wemm 2001-11-03 06:33:08 +00:00
parent 4250f47ada
commit 15faf16e46
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=85953

View File

@ -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} \