From 04e625042b8fc022578ffc2ba903176ccc5616a3 Mon Sep 17 00:00:00 2001 From: Randy Date: Mon, 9 Mar 2020 11:13:03 -0500 Subject: [PATCH] Update Makefile to remove old destination folder --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 1a1753e..1b3e21a 100644 --- a/Makefile +++ b/Makefile @@ -7,6 +7,7 @@ HAVE_SYSTEMD = $(shell pkg-config --exists libsystemd --atleast-version=232; ec NVME = nvme INSTALL ?= install DESTDIR = +DESTDIROLD = /usr/local/sbin PREFIX ?= /usr SYSCONFDIR = /etc SBINDIR = $(PREFIX)/sbin @@ -115,6 +116,7 @@ install-man: $(MAKE) -C Documentation install-no-build install-bin: default + $(RM) $(DESTDIROLD)/nvme $(INSTALL) -d $(DESTDIR)$(SBINDIR) $(INSTALL) -m 755 nvme $(DESTDIR)$(SBINDIR) -- 2.49.0