X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/c9175f28331d65da08167093c25ac234c11c2af2..cf6f5dce52a7c2ecdd5da56a5687c23689d0b9e3:/debian/rules diff --git a/debian/rules b/debian/rules index bad8d04..473ad29 100755 --- a/debian/rules +++ b/debian/rules @@ -11,11 +11,9 @@ include /usr/share/cdbs/1/rules/config-package.mk DEB_UPDATE_RCD_PARAMS_invirt-web += defaults 91 9 -GIT_HEAD=$(shell git rev-parse HEAD) - binary-fixup/invirt-web:: - git clone $$(invirt-getconf git.uri)/invirt/packages/invirt-web $(DEB_DESTDIR)/usr/share/invirt-web/package - cd $(DEB_DESTDIR)/usr/share/invirt-web/package && git checkout $(GIT_HEAD) 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 + mv code/ $(DEB_DESTDIR)/var/www/invirt-web/ + +clean/invirt-web:: + mv $(DEB_DESTDIR)/var/www/invirt-web/ code/