Guido Guenther
2007-Dec-01 13:31 UTC
[PATCH] apply patch from Richard Jones to install the necessary headers to build libvirt with xen support (Closes: #402249)
diff --git a/debian/rules.real b/debian/rules.real index e1c77e1..49c09ac 100644 --- a/debian/rules.real +++ b/debian/rules.real @@ -115,9 +115,15 @@ install-utils_$(ARCH): $(STAMPS_DIR)/build-utils_$(ARCH) dh_clean -k @rm -rf $(DIR) $(MAKE) -C $(SOURCE_DIR)/tools install DESTDIR=$(CURDIR)/$(DIR) DISTDIR=$(CURDIR)/$(DIR) $(CONFIG) + mkdir -p $(CURDIR)/$(DIR)/usr/include/xen/io $(CURDIR)/$(DIR)/usr/include/xen/hvm $(CURDIR)/$(DIR)/usr/include/xen/arch-x86 + install -m 644 $(SOURCE_DIR)/xen/include/public/io/*.h $(CURDIR)/$(DIR)/usr/include/xen/io + install -m 644 $(SOURCE_DIR)/xen/include/public/hvm/*.h $(CURDIR)/$(DIR)/usr/include/xen/hvm + install -m 644 $(SOURCE_DIR)/xen/include/public/arch-x86/*.h $(CURDIR)/$(DIR)/usr/include/xen/arch-x86 + install -m 644 $(SOURCE_DIR)/xen/include/public/*.h $(CURDIR)/$(DIR)/usr/include/xen/ install -D -m644 debian/xen-utils.NEWS $(PACKAGE_DIR)/usr/share/doc/$(PACKAGE_NAME)/NEWS install -D -m644 debian/xen-utils.README.Debian $(PACKAGE_DIR)/usr/share/doc/$(PACKAGE_NAME)/README.Debian dh_install --sourcedir=$(DIR) usr/lib + dh_install --sourcedir=$(DIR) usr/include dh_install --sourcedir=$(DIR) usr/share/xen-$(VERSION)$(ABINAME) dh_pycentral dh_strip --9jxsPFA5p3P2qPhR--