aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2015-02-07 17:46:46 +0100
committerClifford Wolf <clifford@clifford.at>2015-02-07 17:46:46 +0100
commitcc400b279a1580b399a64da093f7375686a8fd3f (patch)
treea1ffe12d4ae238d9d88d05cb741d7395aca0266c
parentdce1fae777bcc9791c2f49be4b53f1de53df7502 (diff)
downloadyosys-cc400b279a1580b399a64da093f7375686a8fd3f.tar.gz
yosys-cc400b279a1580b399a64da093f7375686a8fd3f.tar.bz2
yosys-cc400b279a1580b399a64da093f7375686a8fd3f.zip
Added "make uninstall"
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
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