debian: change builddir variable
This commit is contained in:
parent
17e515b3f8
commit
21fa11a61d
24
rules
24
rules
|
@ -1,19 +1,19 @@
|
|||
#!/usr/bin/make -f
|
||||
|
||||
BUILD_DIR := 'debian/mandaye-vincennes'
|
||||
BUILD_DIR=$(CURDIR)/debian/mandaye-vincennes
|
||||
|
||||
%:
|
||||
dh $@ --with python2
|
||||
|
||||
override_dh_install:
|
||||
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 0755 $(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
|
||||
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 0755 $(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
|
||||
|
|
Reference in New Issue