X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/d263f9d2c3b9004efd0df2bcc162816b3f155f0d..eabe84bd3f3ea514893ec700d598a06c2418f37e:/debian/rules?ds=inline diff --git a/debian/rules b/debian/rules index b890156..473ad29 100755 --- a/debian/rules +++ b/debian/rules @@ -2,7 +2,9 @@ DEB_DIVERT_EXTENSION = .invirt DEB_DIVERT_FILES_invirt-web += \ - /etc/init.d/apache2 + /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 @@ -10,4 +12,8 @@ include /usr/share/cdbs/1/rules/config-package.mk DEB_UPDATE_RCD_PARAMS_invirt-web += defaults 91 9 binary-fixup/invirt-web:: - svn co $$(invirt-getconf svn.uri)/trunk/packages/invirt-web/code/ $(DEB_DESTDIR)/var/www/invirt-web + mkdir -p $(DEB_DESTDIR)/var/www/ + mv code/ $(DEB_DESTDIR)/var/www/invirt-web/ + +clean/invirt-web:: + mv $(DEB_DESTDIR)/var/www/invirt-web/ code/