From 38d0ab1bdd2ca9b4b254e6fbd4a927282dab453b Mon Sep 17 00:00:00 2001 From: Yadong Ding Date: Thu, 30 May 2024 13:38:05 +0800 Subject: [PATCH] fix: remove extra / in make install and uninstall Signed-off-by: Yadong Ding --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index e18d20f1d..6b9b7d9bc 100644 --- a/Makefile +++ b/Makefile @@ -95,7 +95,7 @@ NV_UNIT_FILES = contrib/systemd/system/netavark-dhcp-proxy.service \ .PHONY: install install: $(NV_UNIT_FILES) - install ${SELINUXOPT} -D -m0755 bin/netavark $(DESTDIR)/$(LIBEXECPODMAN)/netavark + install ${SELINUXOPT} -D -m0755 bin/netavark $(DESTDIR)$(LIBEXECPODMAN)/netavark $(MAKE) -C docs install install ${SELINUXOPT} -m 755 -d ${DESTDIR}${SYSTEMDDIR} install ${SELINUXOPT} -m 644 contrib/systemd/system/netavark-dhcp-proxy.socket ${DESTDIR}${SYSTEMDDIR}/netavark-dhcp-proxy.socket @@ -104,7 +104,7 @@ install: $(NV_UNIT_FILES) .PHONY: uninstall uninstall: - rm -f $(DESTDIR)/$(LIBEXECPODMAN)/netavark + rm -f $(DESTDIR)$(LIBEXECPODMAN)/netavark rm -f $(PREFIX)/share/man/man1/netavark*.1 rm -f ${DESTDIR}${SYSTEMDDIR}/netavark-dhcp-proxy.service rm -f ${DESTDIR}${SYSTEMDDIR}/netavark-dhcp-proxy.socket