+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)
+
+
+# generate an archive for distribution
+distrib: dist
+ $(MAKE) -C testprograms dist
+
+dist: subdir_dist local_dist $(TARDIRNAME)
+# @echo create archive with $(DISTFILES)
+# @echo tar -C $(top_srcdir) -uf libfirm.tar $(ARCHIVEDISTFILES)
+ $(TAR) $(TARFLAGS) $(ARCHIVEDISTFILES)
+.PHONY: local_dist
+local_dist: $(DISTFILES)