The apidoc building was failing in make distcheck because it was being
built using the standard 'html' target. That target needs the output
to not be rebuilt each time make install-html is called. Which is not
easily possible for us. So for now, the apidoc is being generated
using the html-doc target.
* doc/Makefile.am: Trigger the building frm the html-doc target.
Signed-off-by: Dodji Seketeli <dodji@redhat.com>
EXTRA_DIST = api/libabigail.doxy
-html-local: $(DO_HTML)
+html-doc: $(DO_HTML)
website: website-html-doxygen
if ENABLE_APIDOC
-install-html: $(DO_INSTALL_HTML)
+install-html-doc: $(DO_INSTALL_HTML)
endif
DO_HTML = apidoc-html-doxygen website-html-doxygen
# To remove directories.
clean-local:
- rm -rf $(DOXY_API_BLD_DIR) $(DOXY_WEBSITE_BLD_DIR)
+ -rm -rf $(DOXY_API_BLD_DIR) $(DOXY_WEBSITE_BLD_DIR)
#To install everything:
if ENABLE_APIDOC
-install-data-local: install-html
-uninstall-local:
- test -d $(DESTDIR)$(docdir) && rm -rf $(DESTDIR)$(docdir)
+install-html-doc: install-html
+
+uninstall-local: clean-local
+ -rm -rf $(DESTDIR)$(docdir)
endif