debian: fixes server.py and manager.py installation

This commit is contained in:
Jérôme Schneider 2014-10-28 09:35:38 +01:00
parent c308fbe46b
commit 67daf5ecd7
2 changed files with 3 additions and 2 deletions

1
dirs
View File

@ -7,4 +7,5 @@ var/lib/mandaye-cud/data
var/lib/mandaye-cud/sessions
var/log/mandaye-cud
var/run/mandaye-cud
usr/lib/mandaye-cud
usr/share/mandaye-cud

4
rules
View File

@ -7,6 +7,6 @@ BUILD_DIR=$(CURDIR)/debian/mandaye-cud
override_dh_install:
dh_install
mv $(BUILD_DIR)/usr/bin/server.py $(BUILD_DIR)/usr/lib/mandaye-cud
mv $(BUILD_DIR)/usr/bin/manager.py $(BUILD_DIR)/usr/lib/mandaye-cud
mv $(BUILD_DIR)/usr/bin/server.py $(BUILD_DIR)/usr/lib/mandaye-cud/server.py
mv $(BUILD_DIR)/usr/bin/manager.py $(BUILD_DIR)/usr/lib/mandaye-cud/manager.py
cp -R mandaye_cud/static $(BUILD_DIR)/usr/share/mandaye-cud