3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-22 06:29:23 +01:00

build: Provide error when pre-built manual page is not present

This commit is contained in:
Marcel Holtmann 2019-10-03 10:21:28 +02:00
parent a6e9ba71eb
commit 05de140e37

View File

@ -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