Move man page to doc/
This commit is contained in:
parent
08bb06c164
commit
4ba2a05ebf
10
Makefile
10
Makefile
@ -9,19 +9,19 @@ PREFIX = /usr/local
|
||||
BINDIR = bin
|
||||
MANDIR = share/man
|
||||
|
||||
all: soju sojuctl soju.1
|
||||
all: soju sojuctl doc/soju.1
|
||||
|
||||
soju:
|
||||
$(GO) build $(GOFLAGS) ./cmd/soju
|
||||
sojuctl:
|
||||
$(GO) build $(GOFLAGS) ./cmd/sojuctl
|
||||
soju.1: soju.1.scd
|
||||
$(SCDOC) <soju.1.scd >soju.1
|
||||
doc/soju.1: doc/soju.1.scd
|
||||
$(SCDOC) <doc/soju.1.scd >doc/soju.1
|
||||
|
||||
clean:
|
||||
$(RM) -rf soju sojuctl soju.1
|
||||
$(RM) -rf soju sojuctl doc/soju.1
|
||||
install: all
|
||||
mkdir -p $(DESTDIR)$(PREFIX)/$(BINDIR)
|
||||
mkdir -p $(DESTDIR)$(PREFIX)/$(MANDIR)/man1
|
||||
cp -f soju sojuctl $(DESTDIR)$(PREFIX)/$(BINDIR)
|
||||
cp -f soju.1 $(DESTDIR)$(PREFIX)/$(MANDIR)/man1
|
||||
cp -f doc/soju.1 $(DESTDIR)$(PREFIX)/$(MANDIR)/man1
|
||||
|
Loading…
Reference in New Issue
Block a user