From: Clifford Wolf Date: Sat, 7 Feb 2015 16:46:46 +0000 (+0100) Subject: Added "make uninstall" X-Git-Tag: yosys-0.5~23 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cc400b279a1580b399a64da093f7375686a8fd3f;p=yosys.git Added "make uninstall" --- diff --git a/Makefile b/Makefile index da174497f..679f36198 100644 --- a/Makefile +++ b/Makefile @@ -309,6 +309,10 @@ install: $(TARGETS) $(EXTRA_TARGETS) $(INSTALL_SUDO) mkdir -p $(DESTDIR)/share/yosys $(INSTALL_SUDO) cp -r share/. $(DESTDIR)/share/yosys/. +uninstall: + $(INSTALL_SUDO) rm -vf $(addprefix $(DESTDIR)/bin/,$(notdir $(TARGETS))) + $(INSTALL_SUDO) rm -rvf $(DESTDIR)/share/yosys/ + manual: $(TARGETS) $(EXTRA_TARGETS) cd manual && bash appnotes.sh cd manual && bash presentation.sh