commit 5599bd1e0b99211e7bcd543d2f9e63f7ea8b1f2f
parent 1a072907420181c28c824fe42699d3d7c44b426c
Author: hhvn <dev@hhvn.uk>
Date: Thu, 21 Apr 2022 16:19:12 +0100
Prevent trying to install manpage to $(MANDIR)/man1/doc/
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
@@ -79,7 +79,7 @@ install: all
install -m0755 $(BIN) $(BINDIR)/$(BIN)
sed 's/COMMIT/$(COMMIT)/' \
< $(MAN) \
- > $(MANDIR)/man1/$(MAN)
+ > $(MANDIR)/man1/`basename $(MAN)`
uninstall:
-rm -f $(BINDIR)/$(BIN)