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

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