3 # Made with the aid of debmake, by Christoph Lameter,
4 # based on the sample debian/rules file for GNU hello by Ian Jackson.
6 package:=userdir-ldap-cgi
16 -rm -rf $(i) debian/files* core debian/substvars
19 var/www/userdir-ldap \
20 var/cache/userdir-ldap/web-cookies \
21 var/cache/userdir-ldap/hosts \
22 usr/share/doc/$(package)
28 dh_installdirs $(instdirs)
30 install -m 755 *.cgi $(i)/var/www/userdir-ldap/
31 install -m 644 Util.pm $(i)/var/www/userdir-ldap/
32 chown www-data.www-data $(i)/var/cache/userdir-ldap/web-cookies/
33 chmod u=rwx,g=,o= $(i)/var/cache/userdir-ldap/web-cookies/
35 install -m 644 apache-config.txt $(i)/usr/share/doc/$(package)
39 dh_fixperms --exclude=web-cookies
49 # There are no architecture-dependent files to be uploaded
50 # generated by this package. If there were any they would be
54 # Below here is fairly generic really
56 binary: binary-indep binary-arch
58 .PHONY: binary binary-arch binary-indep clean