From ee77d3a502092cfdf860fa6fedaf95c0342d82ea Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 9 Jun 2021 15:53:55 +0200 Subject: Use rm -f in Makefile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index db15bd9..9b1b6d9 100644 --- a/Makefile +++ b/Makefile @@ -173,19 +173,19 @@ install: libcolour.a libcolour.so.$(SO_VERSION) libcolour.7 uninstall: - -rm -- "$(DESTDIR)$(PREFIX)/include/libcolour.h" - -rm -- "$(DESTDIR)$(PREFIX)/lib/libcolour.a" - -rm -- "$(DESTDIR)$(PREFIX)/lib/libcolour.so.$(SO_VERSION)" - -rm -- "$(DESTDIR)$(PREFIX)/lib/libcolour.so.$(VERSION_MAJOR)" - -rm -- "$(DESTDIR)$(PREFIX)/lib/libcolour.so" - -cd -- "$(DESTDIR)$(MANPREFIX)/man7" && rm -- $(MAN7) - -cd -- "$(DESTDIR)$(MANPREFIX)/man3" && rm -- $(MAN3) $(MAN3_SYMLINKS) + -rm -f -- "$(DESTDIR)$(PREFIX)/include/libcolour.h" + -rm -f -- "$(DESTDIR)$(PREFIX)/lib/libcolour.a" + -rm -f -- "$(DESTDIR)$(PREFIX)/lib/libcolour.so.$(SO_VERSION)" + -rm -f -- "$(DESTDIR)$(PREFIX)/lib/libcolour.so.$(VERSION_MAJOR)" + -rm -f -- "$(DESTDIR)$(PREFIX)/lib/libcolour.so" + -cd -- "$(DESTDIR)$(MANPREFIX)/man7" && rm -f -- $(MAN7) + -cd -- "$(DESTDIR)$(MANPREFIX)/man3" && rm -f -- $(MAN3) $(MAN3_SYMLINKS) check: test ./test clean: - -rm -- *.o *.a *.so *.so.* test conversion-matrices.h + -rm -f -- *.o *.a *.so *.so.* test conversion-matrices.h .PHONY: all clean check install uninstall -- cgit v1.2.3-70-g09d2