Makefile install_extras target assumes user is using zsh
The install
target depends on install_extras
, whcih in turn executes the following commands:
install_extras: _cobib cobib.1
install -Dm644 _cobib $(DESTDIR)$(prefix)/share/zsh/site-functions/_cobib
install -Dm644 cobib.1 $(DESTDIR)$(prefix)/share/man/man1/cobib.1
If the user does not have zsh
installed (and hence the $(DESTDIR)$(prefix)/share/zsh/site-functions/
directory does not exist, the target will create it and install the assets regardless.
Edited by Tomas Babej