Made DESTDIR check silent

This commit is contained in:
matthias@arch 2022-10-16 23:02:38 +02:00
parent e9b5ff312b
commit 65a91d396b

View File

@ -49,7 +49,7 @@ install: $(LIB) $(HEADER_INST)
install -D -m 755 ../gen_enum_str.py $(DESTDIR)/bin/gen-enum-str install -D -m 755 ../gen_enum_str.py $(DESTDIR)/bin/gen-enum-str
uninstall: 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)/lib/$(subst ../,,$(LIB))
-rm $(DESTDIR)/bin/gz-enum-str -rm $(DESTDIR)/bin/gz-enum-str
-rm -r $(DESTDIR)/include/gz-util/ -rm -r $(DESTDIR)/include/gz-util/