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