Move man page to doc/

This commit is contained in:
Simon Ser 2020-03-27 19:23:41 +01:00
parent 08bb06c164
commit 4ba2a05ebf
No known key found for this signature in database
GPG Key ID: 0FDE7BE0E88F5E48
2 changed files with 5 additions and 5 deletions

View File

@ -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