This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
2013-10-18 19:45:03 +02:00
|
|
|
#!/usr/bin/make -f
|
|
|
|
|
2013-10-23 14:49:52 +02:00
|
|
|
BUILD_DIR := 'debian/mandaye-cam'
|
|
|
|
|
2013-10-18 19:45:03 +02:00
|
|
|
%:
|
|
|
|
dh $@ --with python2
|
|
|
|
|
|
|
|
override_dh_install:
|
|
|
|
dh_install
|
|
|
|
for ver in $(shell pyversions -vr); do \
|
|
|
|
ln -s /etc/mandaye-cam/local_config.py $(BUILD_DIR)/usr/lib/python$$ver/dist-packages/cam/; \
|
|
|
|
done
|
2013-10-23 14:49:52 +02:00
|
|
|
install -d -m 0755 $(BUILD_DIR)/var/lib/mandaye-cam
|
2013-10-23 18:07:16 +02:00
|
|
|
install -d -m 0755 $(BUILD_DIR)/var/lib/mandaye-cam/data
|
2013-10-23 18:36:11 +02:00
|
|
|
install -d -m 0755 $(BUILD_DIR)/var/run/mandaye-ca
|
2013-10-23 14:49:52 +02:00
|
|
|
install -d -m 0755 $(BUILD_DIR)/var/log/mandaye-cam
|
2013-10-23 18:32:42 +02:00
|
|
|
install -d -m 0755 $(BUILD_DIR)/usr/share/mandaye-cam
|
2013-10-23 18:36:11 +02:00
|
|
|
ln -s /usr/share/pyshared/cam/static $(BUILD_DIR)/usr/share/mandaye-cam/
|