test for robodoc in configure if enabled with --enable-autodoc
[libfirm] / MakeTargets
index 278aa7a..ec4cf1b 100644 (file)
@@ -31,6 +31,14 @@ else
        $(CC) -M $(DEFS) $(CPPFLAGS) $(filter %.c,$^) >.depend || { $(RM) .depend; false; }
 endif
 
+autodoc_xref: subdir_autodoc_xref local_autodoc_xref
+.PHONY: local_autodoc_xref
+local_autodoc_xref: $(LOCALXREFSFILE)
+
+autodoc_html: subdir_autodoc_html local_autodoc_html
+.PHONY: local_autodoc_html
+local_autodoc_html: $(HTMLFILES)
+
 
 # Recurse into $(subdirs) for $(targets)
 $(addprefix subdir_,$(targets)): $(subdirs)