diff --git a/Makefile b/Makefile index 3c7d9b0..3b18f97 100644 --- a/Makefile +++ b/Makefile @@ -60,7 +60,7 @@ install:: graftcp $(GRAFTCP_LOCAL_BIN) $(INSTALL) $< $(DESTDIR)$(BINDIR)/$< $(MAKE) -C graftcp-local $@ -uninstall:: $(GRAFTCP_LOCAL_BIN) +uninstall:: -rm -f $(DESTDIR)$(BINDIR)/graftcp $(MAKE) -C graftcp-local $@ diff --git a/graftcp-local/Makefile b/graftcp-local/Makefile index 9de2e26..481995f 100644 --- a/graftcp-local/Makefile +++ b/graftcp-local/Makefile @@ -46,7 +46,7 @@ uninstall_systemd:: systemctl disable --now graftcp-local.service rm -f ${DESTDIR}/${SYSTEMD_UNIT_DIR}/graftcp-local.service -uninstall:: graftcp-local +uninstall:: -rm -f $(DESTDIR)$(BINDIR)/$< install_service:: graftcp-local