aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-06-09 15:53:55 +0200
committerMattias Andrée <maandree@kth.se>2021-06-09 15:53:55 +0200
commitee77d3a502092cfdf860fa6fedaf95c0342d82ea (patch)
tree58ccd8fc6a4f037dbc51a21dfb9561acd78cf186
parentm (diff)
downloadlibcolour-ee77d3a502092cfdf860fa6fedaf95c0342d82ea.tar.gz
libcolour-ee77d3a502092cfdf860fa6fedaf95c0342d82ea.tar.bz2
libcolour-ee77d3a502092cfdf860fa6fedaf95c0342d82ea.tar.xz
Use rm -f in Makefile
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r--Makefile16
1 files 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