]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[3006] Generate dummy targets when tools are not available
authorMukund Sivaraman <muks@isc.org>
Mon, 24 Jun 2013 02:59:13 +0000 (08:29 +0530)
committerMukund Sivaraman <muks@isc.org>
Mon, 24 Jun 2013 03:05:33 +0000 (08:35 +0530)
Don't fail the build.

doc/design/datasrc/Makefile.am

index dc12ffdab2b3049c262d55de695e57d961ccaa35..acd3ccfb47c5a47cba5e21bb8386c62df460d9b7 100644 (file)
@@ -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 "<html><body><p>" > $@
+       @echo "Dummy document. Install asciidoc to correctly generate this file." >> $@
+       @echo "</p></body></html>" >> $@
 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 = \