Updating version for precise
[invirt/packages/invirt-web.git] / debian / rules
index 473ad29..8a293e3 100755 (executable)
@@ -1,19 +1,6 @@
 #!/usr/bin/make -f
+%:
+       dh $@
 
-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/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/
+override_dh_installinit:
+       dh_installinit -- defaults 91 9