X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/624e26ffeca823b425d8e65ff87c681bafee7d6d..35568d9967fd7b5296c9caf93593ee34e82a05b0:/debian/rules diff --git a/debian/rules b/debian/rules index 1c529e4..473ad29 100755 --- a/debian/rules +++ b/debian/rules @@ -1,13 +1,19 @@ #!/usr/bin/make -f DEB_DIVERT_EXTENSION = .invirt -DEB_DIVERT_FILES_sipb-xen-www += \ - /etc/init.d/apache2 +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_sipb-xen-www += defaults 91 9 +DEB_UPDATE_RCD_PARAMS_invirt-web += defaults 91 9 -binary-fixup/sipb-xen-www:: - svn co $$(invirt-getconf svn.uri)/trunk/packages/sipb-xen-www/code/ $(DEB_DESTDIR)/var/www/sipb-xen-www +binary-fixup/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/