X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/e37dd15bbf8683bab8454ea0eec8e9968ce982b2..10012db3d6895a5b99d6b502005f7cee83a9cacd:/debian/rules diff --git a/debian/rules b/debian/rules index 6e66d75..1ddf633 100755 --- a/debian/rules +++ b/debian/rules @@ -1,6 +1,18 @@ #!/usr/bin/make -f +DEB_DIVERT_EXTENSION = .invirt +DEB_DIVERT_FILES_invirt-web += \ + /etc/apache2/conf.d/gitweb \ + /etc/init.d/apache2 \ + /etc/gitweb.conf \ + include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/config-package.mk + +DEB_UPDATE_RCD_PARAMS_invirt-web += defaults 91 9 -binary-fixup/sipb-xen-dhcp:: - svn co https://sipb-xen-dev.mit.edu:1111/trunk/packages/sipb-xen-www/code/ $(DEB_DESTDIR)/var/www/sipb-xen-www +binary-fixup/invirt-web:: + git clone $$(invirt-getconf git.uri)/invirt/packages/invirt-web $(DEB_DESTDIR)/usr/share/invirt-web/package + mkdir -p $(DEB_DESTDIR)/var/www/ + ln -s /usr/share/invirt-web/package/code $(DEB_DESTDIR)/var/www/invirt-web + rm -rf $(DEB_DESTDIR)/var/www/invirt-web-repo