summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2021-01-23 22:49:28 +0700
committerShulhan <ms@kilabit.info>2021-01-23 22:49:28 +0700
commit7201818d3fde38cff067802025105814ec09856d (patch)
tree96cc43ce4b46e7d5d90177dad2466333c9b146d8
parent43ab5d61020ce1e4147d2fcaf4c820f7bc79a325 (diff)
downloadrescached-7201818d3fde38cff067802025105814ec09856d.tar.xz
Makefile: remove old memfs file on clean
While at it fix the binaries path on uninstall-common.
-rw-r--r--Makefile5
1 files 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.