commit 05de140e37f78fc7b5ac54435b8bbbbe447845e6
parent a6e9ba71ebccc8a76f730022a83545524020927e
Author: Marcel Holtmann <marcel@holtmann.org>
Date: Thu, 3 Oct 2019 10:21:28 +0200
build: Provide error when pre-built manual page is not present
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am
@@ -599,7 +599,8 @@ if RUN_RST2MAN
RST2MAN_PROCESS = $(AM_V_GEN)$(RST2MAN) --strict --no-raw --no-generator \
--no-datestamp < $< > $@
else
-RST2MAN_PROCESS = $(AM_V_GEN)touch $@
+RST2MAN_PROCESS = $(AM_V_GEN)test -f $@ || \
+ { echo "Generated manual page $@ does not exist"; false; }
endif
%.service: %.service.in Makefile