diff --git a/Makefile b/Makefile index c9c64b1..13da5e4 100644 --- a/Makefile +++ b/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 +doc/soju.1: doc/soju.1.scd + $(SCDOC) 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 diff --git a/soju.1.scd b/doc/soju.1.scd similarity index 100% rename from soju.1.scd rename to doc/soju.1.scd