20 lines
738 B
Makefile
Executable File
20 lines
738 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
|
|
BUILD_DIR := '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
|