From cc400b279a1580b399a64da093f7375686a8fd3f Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Sat, 7 Feb 2015 17:46:46 +0100 Subject: [PATCH] Added "make uninstall" --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.30.2