3 DEB_DIVERT_EXTENSION = .invirt
4 DEB_DIVERT_FILES_invirt-web += \
7 include /usr/share/cdbs/1/rules/debhelper.mk
8 include /usr/share/cdbs/1/rules/config-package.mk
10 DEB_UPDATE_RCD_PARAMS_invirt-web += defaults 91 9
12 binary-fixup/invirt-web::
13 git clone $$(invirt-getconf git.uri)/invirt/packages/invirt-web $(DEB_DESTDIR)/usr/share/invirt-web/package
14 mkdir -p $(DEB_DESTDIR)/var/www/
15 ln -s /usr/share/invirt-web/package/code $(DEB_DESTDIR)/var/www/invirt-web
16 rm -rf $(DEB_DESTDIR)/var/www/invirt-web-repo