From 99cdd4b440b77d4a7eebac6eecc337e438354ae9 Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Sat, 4 Jun 2005 00:46:03 +0000 Subject: - Don't fail make clean when expected files are not present PR: ports/81828 Submitted by: Loren M. Lang --- x11-wm/novawm/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'x11-wm') diff --git a/x11-wm/novawm/Makefile b/x11-wm/novawm/Makefile index 467315464ea8..c922928a2ba0 100644 --- a/x11-wm/novawm/Makefile +++ b/x11-wm/novawm/Makefile @@ -40,7 +40,11 @@ do-install: .endif pre-clean: - @${CHMOD} -R +w ${WRKSRC}/src/xpm/.xvpics - @${CHMOD} -R +w ${WRKSRC}/.xvpics + @-if [ -e ${WRKSRC}/src/xpm/.xvpics ]; then \ + ${CHMOD} -R +w ${WRKSRC}/src/xpm/.xvpics 2>/dev/null; \ + fi + @-if [ -e ${WRKSRC}/.xvpics ]; then \ + ${CHMOD} -R +w ${WRKSRC}/.xvpics 2>/dev/null; \ + fi .include -- cgit v1.2.3