Improved Makefile install target
This commit is contained in:
parent
b865dd251c
commit
5ba3dfd26f
6
Makefile
6
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
|
||||
|
Loading…
Reference in New Issue
Block a user