Make the manpage before installing

This commit is contained in:
Bruce Hill 2021-05-19 22:03:34 -07:00
parent f824d3f3e2
commit cd6b5925f1

View File

@ -46,7 +46,7 @@ splint:
# -onlytrans -usedef -nullassign -compdestroy -globstate -nullstate -statictrans -predboolint \
# $(CFILES) bp.c
install: $(NAME)
install: $(NAME) bp.1
mkdir -p -m 755 "$(PREFIX)/man/man1" "$(PREFIX)/bin" "$(SYSCONFDIR)/xdg/$(NAME)"
cp -r grammars/* "$(SYSCONFDIR)/xdg/$(NAME)/"
cp bp.1 "$(PREFIX)/man/man1/$(NAME).1"