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
|
BINDIR = bin
|
||||||
MANDIR = share/man
|
MANDIR = share/man
|
||||||
|
|
||||||
all: soju sojuctl soju.1
|
all: soju sojuctl doc/soju.1
|
||||||
|
|
||||||
soju:
|
soju:
|
||||||
$(GO) build $(GOFLAGS) ./cmd/soju
|
$(GO) build $(GOFLAGS) ./cmd/soju
|
||||||
sojuctl:
|
sojuctl:
|
||||||
$(GO) build $(GOFLAGS) ./cmd/sojuctl
|
$(GO) build $(GOFLAGS) ./cmd/sojuctl
|
||||||
soju.1: soju.1.scd
|
doc/soju.1: doc/soju.1.scd
|
||||||
$(SCDOC) <soju.1.scd >soju.1
|
$(SCDOC) <doc/soju.1.scd >doc/soju.1
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(RM) -rf soju sojuctl soju.1
|
$(RM) -rf soju sojuctl doc/soju.1
|
||||||
install: all
|
install: all
|
||||||
mkdir -p $(DESTDIR)$(PREFIX)/$(BINDIR)
|
mkdir -p $(DESTDIR)$(PREFIX)/$(BINDIR)
|
||||||
mkdir -p $(DESTDIR)$(PREFIX)/$(MANDIR)/man1
|
mkdir -p $(DESTDIR)$(PREFIX)/$(MANDIR)/man1
|
||||||
cp -f soju sojuctl $(DESTDIR)$(PREFIX)/$(BINDIR)
|
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