From fde9fdfbe847afa6b795720689074b0a9d3e43b7 Mon Sep 17 00:00:00 2001 From: Josh Headapohl Date: Thu, 23 Feb 2017 20:21:03 -0500 Subject: [PATCH] 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 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2