X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/ede52b93c4aa79b35101549c7f0353bad5370b45..e5990205f8fad1c4299dd91729787d2b003c4081:/debian/rules?ds=inline diff --git a/debian/rules b/debian/rules index ec1e18d..6137a23 100755 --- a/debian/rules +++ b/debian/rules @@ -1,16 +1,6 @@ #!/usr/bin/make -f +%: + dh $@ --with config-package -DEB_DIVERT_EXTENSION = .invirt -DEB_DIVERT_FILES_invirt-web += \ - /etc/init.d/apache2 - -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/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 +override_dh_installinit: + dh_installinit -- defaults 91 9