change failed commands handling in Makefile - surf-adblock - Surf adblock web e… | |
git clone git://git.codemadness.org/surf-adblock | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 7ed2fc116d5c27efb3f605980b525319b53cfd2d | |
parent 4abcfd0275f2832ab7bc13bf543ab75c95c9a53c | |
Author: Quentin Rameau <[email protected]> | |
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(-) | |
--- | |
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 |