cleaning rules

This commit is contained in:
Jérôme Schneider 2014-07-10 09:54:40 +02:00
parent 026097e01a
commit 96629dd60d
2 changed files with 7 additions and 6 deletions

7
dirs
View File

@ -1,3 +1,10 @@
etc/mandaye-vincennes
etc/mandaye-vincennes/certs
etc/mandaye-vincennes/sites-available
etc/mandaye-vincennes/sites-enabled
var/lib/mandaye-vincennes
var/lib/mandaye-vincennes/data
var/lib/mandaye-vincennes/sessions
var/log/mandaye-vincennes
var/run/mandaye-vincennes
usr/share/mandaye-vincennes

6
rules
View File

@ -10,10 +10,4 @@ override_dh_install:
for ver in $(shell pyversions -vr); do \
ln -s /etc/mandaye-vincennes/local_config.py $(BUILD_DIR)/usr/lib/python$$ver/dist-packages/mandaye_vincennes/; \
done
install -d -m 0755 $(BUILD_DIR)/var/lib/mandaye-vincennes
install -d -m 0755 $(BUILD_DIR)/var/lib/mandaye-vincennes/data
install -d -m 0750 $(BUILD_DIR)/var/lib/mandaye-vincennes/sessions
install -d -m 0755 $(BUILD_DIR)/var/run/mandaye-vincennes
install -d -m 0755 $(BUILD_DIR)/var/log/mandaye-vincennes
install -d -m 0755 $(BUILD_DIR)/usr/share/mandaye-vincennes
cp -R mandaye_vincennes/static $(BUILD_DIR)/usr/share/mandaye-vincennes