From: Josh Headapohl Date: Fri, 24 Feb 2017 01:21:03 +0000 (-0500) Subject: Add missing slashes in paths for make uninstall X-Git-Tag: yosys-0.8~480^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fde9fdfbe847afa6b795720689074b0a9d3e43b7;p=yosys.git Add missing slashes in paths for make uninstall Running make uninstall used to fail to remove binaries: rm -vf /usr/local/binyosys /usr/local/binyosys-config #...etc Fix Makefile so that it runs a command like this: rm -vf /usr/local/bin/yosys /usr/local/bin/yosys-config #...etc --- diff --git a/Makefile b/Makefile index a6779334e..e779cf20d 100644 --- a/Makefile +++ b/Makefile @@ -478,7 +478,7 @@ ifeq ($(ENABLE_LIBYOSYS),1) endif uninstall: - $(INSTALL_SUDO) rm -vf $(addprefix $(DESTDIR)$(BINDIR),$(notdir $(TARGETS))) + $(INSTALL_SUDO) rm -vf $(addprefix $(DESTDIR)$(BINDIR)/,$(notdir $(TARGETS))) $(INSTALL_SUDO) rm -rvf $(DESTDIR)$(DATDIR) ifeq ($(ENABLE_LIBYOSYS),1) $(INSTALL_SUDO) rm -vf $(DESTDIR)$(LIBDIR)/libyosys.so