diff --git a/debian/rules b/debian/rules index 98905b2..5cc1aba 100644 --- a/debian/rules +++ b/debian/rules @@ -1,32 +1,32 @@ #!/usr/bin/make -f #export DH_VERBOSE=1 %: dh $@ --with python2,apache2 override_dh_clean: dh_clean rm -rf build dist MANIFEST override_dh_install: # common install -m 0644 config.ini.sample debian/mediaproxy-common/etc/mediaproxy/config.ini # dispatcher install -D -m 755 media-dispatcher debian/tmp/usr/bin/media-dispatcher sed --in-place 's,/usr/bin/env python,/usr/bin/python,' debian/tmp/usr/bin/media-dispatcher # relay install -D -m 755 media-relay debian/tmp/usr/bin/media-relay sed --in-place 's,/usr/bin/env python,/usr/bin/python,' debian/tmp/usr/bin/media-relay # web sessions - install -m 0644 web/config/media_sessions.conf.sample debian/mediaproxy-web-sessions/etc/mediaproxy/web/media_sessions.conf + install -D -m 644 web/config/media_sessions.conf.sample debian/mediaproxy-web-sessions/etc/mediaproxy/web/media_sessions.conf # install the debug extensions to -dbg package dh_install "debian/tmp/usr/lib/python*/*-packages/mediaproxy/interfaces/system/*_d.so" -p mediaproxy-common-dbg # Continue with regular dh_install dh_install -X"*_d.so" override_dh_strip: # Stripped symbols go into -dbg package dh_strip --dbg-package=mediaproxy-common-dbg .PHONY: override_dh_clean override_dh_install override_dh_strip