Incremented version to not conflict with precise
[invirt/packages/invirt-web.git] / debian / rules
1 #!/usr/bin/make -f
2
3 DEB_DIVERT_EXTENSION = .invirt
4 DEB_DIVERT_FILES_invirt-web += \
5     /etc/apache2/conf.d/gitweb \
6     /etc/init.d/apache2 \
7     /etc/gitweb.conf \
8
9 include /usr/share/cdbs/1/rules/debhelper.mk
10 include /usr/share/cdbs/1/rules/config-package.mk
11
12 DEB_UPDATE_RCD_PARAMS_invirt-web += defaults 91 9
13
14 binary-fixup/invirt-web::
15         mkdir -p $(DEB_DESTDIR)/var/www/
16         mv code/ $(DEB_DESTDIR)/var/www/invirt-web/
17
18 clean/invirt-web::
19         mv $(DEB_DESTDIR)/var/www/invirt-web/ code/