From: Mukund Sivaraman Date: Mon, 24 Jun 2013 02:59:13 +0000 (+0530) Subject: [3006] Generate dummy targets when tools are not available X-Git-Tag: bind10-1.2.0beta1-release~374^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7a55d6839c96bc41cb440e30822e219911ed2ea1;p=thirdparty%2Fkea.git [3006] Generate dummy targets when tools are not available Don't fail the build. --- diff --git a/doc/design/datasrc/Makefile.am b/doc/design/datasrc/Makefile.am index dc12ffdab2..acd3ccfb47 100644 --- a/doc/design/datasrc/Makefile.am +++ b/doc/design/datasrc/Makefile.am @@ -16,14 +16,18 @@ BUILT_SOURCES = \ if HAVE_ASCIIDOC $(AM_V_GEN) $(ASCIIDOC) -n $< else - @echo "*** asciidoc is required to regenerate $(@) ***"; exit 1; + @echo "*** asciidoc is required to regenerate $(@); creating dummy ***"; + @echo "

" > $@ + @echo "Dummy document. Install asciidoc to correctly generate this file." >> $@ + @echo "

" >> $@ endif .txt.png: if HAVE_PLANTUML $(AM_V_GEN) $(PLANTUML) $< else - @echo "*** plantuml is required to regenerate $(@) ***"; exit 1; + @echo "*** plantuml is required to regenerate $(@); creating dummy ***"; + @echo "Dummy image. Install plantuml to correctly generate this file." > $@ endif CLEANFILES = \