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