[yosys] 15/38: Added "make uninstall"

Ruben Undheim rubund-guest at moszumanska.debian.org
Mon Feb 9 19:36:46 UTC 2015


This is an automated email from the git hooks/post-receive script.

rubund-guest pushed a commit to tag upstream/0.5.0
in repository yosys.

commit cc400b279a1580b399a64da093f7375686a8fd3f
Author: Clifford Wolf <clifford at clifford.at>
Date:   Sat Feb 7 17:46:46 2015 +0100

    Added "make uninstall"
---
 Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Makefile b/Makefile
index da17449..679f361 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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/yosys.git



More information about the debian-science-commits mailing list