1
0
Fork 0
mirror of https://github.com/Cloudef/bemenu synced 2024-04-19 08:34:01 +02:00

make: do not copy man pages if no scdoc installed

This commit is contained in:
Jari Vetoniemi 2022-02-19 09:34:56 +09:00 committed by Jari Vetoniemi
parent f22725b0f9
commit b8eba1f464

View File

@ -127,8 +127,8 @@ install-bins:
-chmod 0755 $(addprefix "$(DESTDIR)$(PREFIX)$(bindir)"/,$(bins))
install-man: bemenu.1
mkdir -p "$(DESTDIR)$(PREFIX)$(mandir)"
-cp $< "$(DESTDIR)$(PREFIX)$(mandir)"
-hash scdoc && mkdir -p "$(DESTDIR)$(PREFIX)$(mandir)"
-hash scdoc && cp $< "$(DESTDIR)$(PREFIX)$(mandir)"
install-renderers: install-curses install-wayland install-x11