deal with which being deprecated in Debian

This commit is contained in:
Joey Hess 2022-01-21 14:51:32 -04:00
parent f7a3c13557
commit 1e91cc5ca6
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -130,7 +130,7 @@ mans: Build/MakeMans
# If ikiwiki is available, build static html docs suitable for being
# shipped in the software package.
docs: mans
@if [ -n "`which ikiwiki`" ]; then \
@if command -v ikiwiki; then \
LC_ALL=C TZ=UTC ikiwiki doc html -v --wikiname git-annex \
--plugin=goodstuff \
--no-usedirs --disable-plugin=openid --plugin=sidebar \