From 02028110755529772c3f911814e0fe26b23e319d Mon Sep 17 00:00:00 2001 From: CuleX Date: Sat, 14 Oct 2017 18:27:54 +0200 Subject: [PATCH] make uninstall should not fail on partial installs rm returns non-zero when the target file does not exist. This is possible when e.g. a user only does install-doc but not install. --- makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/makefile b/makefile index 8bdd273..0c01f00 100644 --- a/makefile +++ b/makefile @@ -50,11 +50,11 @@ clean: rm -f *.out uninstall: - rm $(DESTDIR)/$(PREFIX)/lib/libmonocypher.a - rm $(DESTDIR)/$(PREFIX)/lib/libmonocypher.so - rm $(DESTDIR)/$(PREFIX)/include/monocypher.h - rm $(PKGCONFIG)/monocypher.pc - rm $(MAN_DIR)/*.3monocypher + rm -f $(DESTDIR)/$(PREFIX)/lib/libmonocypher.a + rm -f $(DESTDIR)/$(PREFIX)/lib/libmonocypher.so + rm -f $(DESTDIR)/$(PREFIX)/include/monocypher.h + rm -f $(PKGCONFIG)/monocypher.pc + rm -f $(MAN_DIR)/*.3monocypher check: test test: test.out -- 2.47.3