From: CuleX Date: Sat, 14 Oct 2017 16:27:54 +0000 (+0200) Subject: make uninstall should not fail on partial installs X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=02028110755529772c3f911814e0fe26b23e319d;p=Monocypher.git 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. --- 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