]> sourceware.org Git - libabigail.git/commitdiff
Fix apidoc building
authorDodji Seketeli <dodji@redhat.com>
Wed, 19 Nov 2014 19:57:24 +0000 (20:57 +0100)
committerDodji Seketeli <dodji@redhat.com>
Wed, 19 Nov 2014 20:00:16 +0000 (21:00 +0100)
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>
doc/Makefile.am

index 65c0bef105177eb1f72bc055481cb3d07a1fd9eb..195ccf2be21438fc6cd9fff3b2595d9ccbfc68d1 100644 (file)
@@ -2,11 +2,11 @@ SUBDIRS = manuals
 
 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
@@ -59,12 +59,13 @@ CLEANFILES = $(DOXY_API_BLD_CFG) $(DOXY_WEBSITE_BLD_CFG)
 
 # 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
This page took 0.033875 seconds and 5 git commands to generate.