From 15faf16e46bcc4599a15e68119df7b9f089190fe Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Sat, 3 Nov 2001 06:33:08 +0000 Subject: [PATCH] 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) --- lib/libgnumalloc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libgnumalloc/Makefile b/lib/libgnumalloc/Makefile index cddf5bad684..8201a84b835 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} \