build: Provide error when pre-built manual page is not present
This commit is contained in:
parent
a6e9ba71eb
commit
05de140e37
|
@ -599,7 +599,8 @@ if RUN_RST2MAN
|
||||||
RST2MAN_PROCESS = $(AM_V_GEN)$(RST2MAN) --strict --no-raw --no-generator \
|
RST2MAN_PROCESS = $(AM_V_GEN)$(RST2MAN) --strict --no-raw --no-generator \
|
||||||
--no-datestamp < $< > $@
|
--no-datestamp < $< > $@
|
||||||
else
|
else
|
||||||
RST2MAN_PROCESS = $(AM_V_GEN)touch $@
|
RST2MAN_PROCESS = $(AM_V_GEN)test -f $@ || \
|
||||||
|
{ echo "Generated manual page $@ does not exist"; false; }
|
||||||
endif
|
endif
|
||||||
|
|
||||||
%.service: %.service.in Makefile
|
%.service: %.service.in Makefile
|
||||||
|
|
Loading…
Reference in New Issue