~egtann/sum

cbabcb2e0a3a616d1008f7dc2ed03163272e378f — Evan Tann 3 months ago 9074303
split make and make install
2 files changed, 7 insertions(+), 8 deletions(-)

M Makefile
M README.md
M Makefile => Makefile +6 -6
@@ 1,14 1,14 @@
BINDIR?=/usr/local/bin
GOPATH?=$(USER)/go
BINDIR?=$(GOPATH)/bin
MANDIR?=/usr/local/man

sum:
	go build ./cmd/sum
$(BINDIR)/sum:
	go get -u egt.run/sum/cmd/sum

install: sum
	mkdir -m755 -p $(BINDIR) $(MANDIR)/man1 $(MANDIR)/man5
install: $(BINDIR)/sum
	mkdir -m755 -p $(MANDIR)/man1 $(MANDIR)/man5
	cp man/man1/sum.1      $(MANDIR)/man1/
	cp man/man5/sum.conf.5 $(MANDIR)/man5/
	mv sum /usr/local/bin/sum
.PHONY: install

clean:

M README.md => README.md +1 -2
@@ 1,4 1,4 @@
# sum
# sum(1)

sum(1) ("SQL user manager") declaratively configures user roles and permissions
in SQL databases.  Its configuration is based heavily on the syntax of pf


@@ 16,7 16,6 @@ rational for this.

```
$ git clone git@git.sr.ht:~egtann/sum && cd sum
$ make
$ sudo make install
```