[libvirt] [PATCH] Fix devhelp build

john.levon at sun.com john.levon at sun.com
Wed Jan 14 15:20:31 UTC 2009


# HG changeset patch
# User John Levon <john.levon at sun.com>
# Date 1231946129 28800
# Node ID c08132809fb6e060b1301e97954a1b0ababb384c
# Parent  52dcd17a9fd4bf4a6171386f083d235eebd5aa23
Fix devhelp build

For devhelp to actually be created during a build, we need to explicitly
depend on the generated files.

Signed-off-by: John Levon <john.levon at sun.com>

diff --git a/docs/devhelp/Makefile.am b/docs/devhelp/Makefile.am
--- a/docs/devhelp/Makefile.am
+++ b/docs/devhelp/Makefile.am
@@ -20,7 +20,7 @@ libvirt.devhelp $(HTML_FILES): $(srcdir)
 	-@(if [ -x $(XSLTPROC) ] ; then \
 	  $(XSLTPROC) --nonet -o libvirt.devhelp $(srcdir)/devhelp.xsl $(top_srcdir)/docs/libvirt-api.xml ; fi );
 
-install-data-local:
+install-data-local: libvirt.devhelp $(HTML_FILES)
 	$(mkinstalldirs) $(DESTDIR)$(DEVHELP_DIR)
 	- at INSTALL@ -m 0644 libvirt.devhelp $(DESTDIR)$(DEVHELP_DIR)
 	- at INSTALL@ -m 0644 $(HTML_FILES) $(DESTDIR)$(DEVHELP_DIR)




More information about the libvir-list mailing list