From 7201818d3fde38cff067802025105814ec09856d Mon Sep 17 00:00:00 2001 From: Shulhan Date: Sat, 23 Jan 2021 22:49:28 +0700 Subject: Makefile: remove old memfs file on clean While at it fix the binaries path on uninstall-common. --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 1efefaf..88531f5 100644 --- a/Makefile +++ b/Makefile @@ -76,6 +76,7 @@ distclean: clean go clean -i ./... clean: + rm -f cmd/rescached/memfs.go rm -f testdata/rescached.pid rm -f $(COVER_OUT) $(COVER_HTML) rm -f $(RESCACHED_BIN) $(RESOLVER_BIN) $(RESOLVERBENCH_BIN) @@ -113,8 +114,8 @@ uninstall-common: rm -f $(PREFIX)$(DIR_MAN)/man1/$(RESOLVER_MAN) rm -f $(PREFIX)$(DIR_MAN)/man1/$(RESCACHED_MAN) - rm -f $(PREFIX)$(DIR_BIN)/$(RESOLVER_BIN) - rm -f $(PREFIX)$(DIR_BIN)/$(RESCACHED_BIN) + rm -f $(PREFIX)$(DIR_BIN)/resolver + rm -f $(PREFIX)$(DIR_BIN)/rescached ## ## Tasks for installing and uninstalling on GNU/Linux with systemd. -- cgit v1.3