1
0
mirror of https://github.com/rd235/cado synced 2024-12-10 14:45:22 +01:00

man/Makefile bugfix: err if !PANDOCOK

This commit is contained in:
Renzo Davoli 2024-10-15 14:47:11 +02:00
parent 5d73f49a17
commit a5b7c0a164

View File

@ -6,9 +6,10 @@ PANDOCMINVER=3.1.7
ifdef PANDOCOK
PANDOCVER := $(shell ${PANDOC} -v | head -1 | cut -d ' ' -f 2)
PANDOCVEROK := $(shell printf '%s\n' ${PANDOCMINVER} ${PANDOCVER} | sort -C -V; echo $$?)
none:
endif
none:
% : %.md
ifdef PANDOCOK
ifeq (${PANDOCVEROK}, 1)