diff --git a/Makefile b/Makefile index 257134d..6bb7679 100644 --- a/Makefile +++ b/Makefile @@ -19,12 +19,12 @@ check: $(GO) test $(GOFLAGS) clean: - rm -f build/* - rmdir build + rm -rf build -install: +install: clean all install -Dm755 $(BUILDDIR)/stepd $(DESTDIR)$(BINDIR)/stepd install -Dm755 $(BUILDDIR)/step $(DESTDIR)$(BINDIR)/step + $(MAKE) clean uninstall: rm -f $(DESTDIR)$(BINDIR)/stepd