From 3b3a4772a42a5b8fe983a3834ec420d0197f180b Mon Sep 17 00:00:00 2001 From: Emmanuel Papin Date: Tue, 16 Dec 2014 20:58:54 +0100 Subject: [PATCH] Fix installatino of man files and sql files --- distros/debian8/libzoneminder-perl.install | 12 ++++++++++++ distros/debian8/rules | 4 ++-- distros/debian8/zoneminder-db.install | 3 +-- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/distros/debian8/libzoneminder-perl.install b/distros/debian8/libzoneminder-perl.install index fb087b142..f8f8b4325 100644 --- a/distros/debian8/libzoneminder-perl.install +++ b/distros/debian8/libzoneminder-perl.install @@ -1,2 +1,14 @@ usr/share/perl5/ZoneMinder usr/share/perl5/ZoneMinder.pm +debian/tmp/usr/share/man/man3/ZoneMinder.3pm +debian/tmp/usr/share/man/man3/ZoneMinder::Base.3pm +debian/tmp/usr/share/man/man3/ZoneMinder::Config.3pm +debian/tmp/usr/share/man/man3/ZoneMinder::ConfigAdmin.3pm +debian/tmp/usr/share/man/man3/ZoneMinder::ConfigData.3pm +debian/tmp/usr/share/man/man3/ZoneMinder::Control.3pm +debian/tmp/usr/share/man/man3/ZoneMinder::Control::* +debian/tmp/usr/share/man/man3/ZoneMinder::Database.3pm +debian/tmp/usr/share/man/man3/ZoneMinder::General.3pm +debian/tmp/usr/share/man/man3/ZoneMinder::Logger.3pm +debian/tmp/usr/share/man/man3/ZoneMinder::Memory.3pm +debian/tmp/usr/share/man/man3/ZoneMinder::Trigger::* diff --git a/distros/debian8/rules b/distros/debian8/rules index 4e97df736..a0029c44f 100755 --- a/distros/debian8/rules +++ b/distros/debian8/rules @@ -94,8 +94,8 @@ override_dh_fixperms: dh_fixperms # # As requested by the Debian Webapps Policy Manual ยง3.2.1 - chown root:www-data debian/zoneminder/etc/zm/zm.conf - chmod 640 debian/zoneminder/etc/zm/zm.conf + chown root:www-data debian/zoneminder-db/etc/zm/zm.conf + chmod 640 debian/zoneminder-db/etc/zm/zm.conf override_dh_auto_test: # do not run tests... diff --git a/distros/debian8/zoneminder-db.install b/distros/debian8/zoneminder-db.install index 22d9aeb27..6c3c77dbf 100644 --- a/distros/debian8/zoneminder-db.install +++ b/distros/debian8/zoneminder-db.install @@ -1,3 +1,2 @@ -db/zm_create.sql usr/share/zoneminder/db -db/zm_update-*.sql usr/share/zoneminder/db +usr/share/zoneminder/db etc/zm