change failed commands handling in Makefile - surf-adblock - Surf adblock web extension
(HTM) git clone git://git.codemadness.org/surf-adblock
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 7ed2fc116d5c27efb3f605980b525319b53cfd2d
(DIR) parent 4abcfd0275f2832ab7bc13bf543ab75c95c9a53c
(HTM) Author: Quentin Rameau <quinq@fifth.space>
Date: Sat, 16 Jul 2016 14:19:13 +0200
change failed commands handling in Makefile
Use the '-' prefix to ignore failure instead of invoking true.
Diffstat:
M Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/Makefile b/Makefile
@@ -35,7 +35,7 @@ uninstall:
rm -f ${DESTDIR}${PREFIX}/bin/surf-adblock-dl
${LIBTOOL} --mode uninstall rm -f \
${DESTDIR}${LIBPREFIX}/surf-adblock.la
- rm -df ${DESTDIR}${LIBPREFIX} || true
- rm -df ${DESTDIR}${PREFIX}/bin || true
+ rm -df ${DESTDIR}${LIBPREFIX}
+ - rm -df ${DESTDIR}${PREFIX}/bin
.PHONY: all clean install uninstall