~minus/sshign

57c4d1d05e26f2674a1abb7c0313b21af0497e23 — minus 4 years ago 1cc6b7b
Include man page in Makefile
1 files changed, 4 insertions(+), 2 deletions(-)

M Makefile
M Makefile => Makefile +4 -2
@@ 18,11 18,11 @@ sshign: $(GOSRC)
		-X main.buildDate=$(BUILD_DATE)" \
		-o $@

all: sshign

sshign.1: sshign.1.scd
	$(SCDOC) < $< > $@

all: sshign sshign.1

# Exists in GNUMake but not in NetBSD make and others.
RM?=rm -f



@@ 32,9 32,11 @@ clean:
install: all
	mkdir -p $(BINDIR)
	install -m755 sshign $(BINDIR)/sshign
	install -m644 sshign.1 $(MANDIR)/man1/sshign.1

uninstall:
	$(RM) $(BINDIR)/sshign
	$(RM) $(MANDIR)/man1/sshign.1

.DEFAULT_GOAL := all