commit e9966b422586161ecc4bdae66669355065a009d9
parent e78575267b4b761cdb7eeb97e44d3730030025bb
Author: hhvn <dev@hhvn.uk>
Date: Tue, 30 Nov 2021 18:19:26 +0000
Makefile: actually insert COMMIT into hirc.1
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
@@ -23,7 +23,9 @@ $(BIN): $(OBJ)
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJ)
$(MAN): $(BIN) $(MAN).header $(MAN).footer
- ./$(BIN) -d | cat $(MAN).header - $(MAN).footer > $(MAN)
+ ./$(BIN) -d | \
+ cat $(MAN).header - $(MAN).footer | \
+ sed "s/COMMIT/$(COMMIT)/" > $(MAN)
install: all
mkdir -p $(BINDIR) $(MANDIR)/man1