projects
/
invirt/packages/invirt-web.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename code/ to /var/www/invirt-web/ in binary-fixup
[invirt/packages/invirt-web.git]
/
debian
/
rules
diff --git
a/debian/rules
b/debian/rules
index
ec1e18d
..
473ad29
100755
(executable)
--- a/
debian/rules
+++ b/
debian/rules
@@
-2,7
+2,9
@@
DEB_DIVERT_EXTENSION = .invirt
DEB_DIVERT_FILES_invirt-web += \
DEB_DIVERT_EXTENSION = .invirt
DEB_DIVERT_FILES_invirt-web += \
- /etc/init.d/apache2
+ /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
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/config-package.mk
@@
-10,7
+12,8
@@
include /usr/share/cdbs/1/rules/config-package.mk
DEB_UPDATE_RCD_PARAMS_invirt-web += defaults 91 9
binary-fixup/invirt-web::
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/
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/