binary-indep :
dh_testroot
- install -d debian/memories/usr/share/perl5/Memories
- install -m 644 Memories.pm debian/memories/usr/share/perl5/
- install -m 644 Memories/*.pm debian/memories/usr/share/perl5/Memories/
- install -d debian/memories/usr/lib/cgi-bin
+ dh_installdirs
+ dh_install Memories.pm usr/share/perl5/
+ dh_install Memories/*.pm usr/share/perl5/Memories/
install -m 755 debian/memories.cgi debian/memories/usr/lib/cgi-bin/
- install -d debian/memories/etc/memories
install -m 644 Memories/Config.pm.example debian/memories/etc/memories/Config.pm
- ln -s /etc/memories/Config.pm debian/memories/usr/share/perl5/Memories/
- install -d debian/memories/etc/memories/templates
- install -m 644 debian/apache.conf debian/memories/etc/memories/
- install -d debian/memories/usr/share/memories
- cp -dR templates debian/memories/usr/share/memories/
- install -m 644 memories.sql debian/memories/usr/share/memories/
- install -d debian/memories/var/lib/memories
- install -d -o www-data -g www-data -m 770 debian/memories/var/lib/memories/sessions debian/memories/var/lib/memories/sessionlock
- install -d debian/memories/usr/share/lintian/overrides
+ dh_install debian/apache.conf etc/memories/
+ dh_install memories.sql templates usr/share/memories/
+ chown www-data:www-data debian/memories/var/lib/memories/session*
+ chmod 770 debian/memories/var/lib/memories/session*
install -m 644 debian/lintian-overrides debian/memories/usr/share/lintian/overrides/memories
+ dh_link
dh_perl
dh_installchangelogs Changes
dh_installdocs