X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-xen-config.git/blobdiff_plain/863af241e4cb41dc6684b60bbeedfc3377b06cb9..ca30b6049986b4f287ba2678772120d3175d4dfb:/debian/rules?ds=inline diff --git a/debian/rules b/debian/rules index eea6e5a..e0fde75 100755 --- a/debian/rules +++ b/debian/rules @@ -1,4 +1,19 @@ #!/usr/bin/make -f -export DH_ALWAYS_EXCLUDE=.svn +DEB_DIVERT_EXTENSION = .invirt + +DEB_DIVERT_FILES_invirt-xen-config += \ + /etc/xen/qemu-ifup.invirt \ + /etc/xen/xend-config.sxp.invirt \ + /etc/apt/preferences.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