X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-xen-config.git/blobdiff_plain/8afbf76ed9b5b1a072054001f79102aee87fc423..3eaf51ca14e9a87597f277ce76a8b071e8cc9e7b:/debian/rules?ds=sidebyside diff --git a/debian/rules b/debian/rules index 090a1f7..cb20bf8 100755 --- a/debian/rules +++ b/debian/rules @@ -3,6 +3,21 @@ DEB_DIVERT_EXTENSION = .invirt DEB_DIVERT_FILES_invirt-xen-config += \ - /etc/xen/qemu-ifup.invirt + /etc/xen/qemu-ifup.invirt \ + /etc/xen/xend-config.sxp.invirt + +DEB_UNDIVERT_FILES_invirt-xen-config += \ + /etc/apt/preferences.invirt + +DEB_UNDIVERT_VERSION_/etc/apt/preferences.invirt = 0.0.27~ include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/config-package.mk + +common-build-indep:: debian/xend-config.sxp.invirt.mako + +debian/xend-config.sxp.invirt.mako: $(call debian_check_files,/etc/xen/xend-config.sxp) + debian/transform_xend-config.sxp.invirt.mako < $< > $@ + +clean:: + rm -f debian/xend-config.sxp.invirt.mako