X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-xen-config.git/blobdiff_plain/de8d3b772164c0d7b3091dec019f20c27e4ffed5..8f57a1411c5cec075f3e81eb58fe0d2e471bb1f7:/debian/rules?ds=inline diff --git a/debian/rules b/debian/rules index e6192f6..a5765c8 100755 --- a/debian/rules +++ b/debian/rules @@ -1,3 +1,18 @@ #!/usr/bin/make -f +DEB_DIVERT_EXTENSION = .invirt + +DEB_DIVERT_FILES_invirt-xen-config += \ + /etc/xen/qemu-ifup.invirt \ + /etc/xen/xend-config.sxp.invirt + 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