From 65a91d396b66fcb7cb58df9522756f9cd104b5c0 Mon Sep 17 00:00:00 2001 From: "matthias@arch" Date: Sun, 16 Oct 2022 23:02:38 +0200 Subject: [PATCH] Made DESTDIR check silent --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index 2256eb6..a0bc5ae 100755 --- a/src/Makefile +++ b/src/Makefile @@ -49,7 +49,7 @@ install: $(LIB) $(HEADER_INST) install -D -m 755 ../gen_enum_str.py $(DESTDIR)/bin/gen-enum-str uninstall: - { [ -z "$(DESTDIR)" ] && echo "Please set the DESTDIR variable (probably to /usr or /usr/local)" && exit 1; } || true + @{ [ -z "$(DESTDIR)" ] && echo "Please set the DESTDIR variable (probably to /usr or /usr/local)" && exit 1; } || true -rm $(DESTDIR)/lib/$(subst ../,,$(LIB)) -rm $(DESTDIR)/bin/gz-enum-str -rm -r $(DESTDIR)/include/gz-util/