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 web/*.cgi $(i)/var/www/userdir-ldap/
31 install -m 644 web/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)
36 install -m 644 doc/samples/ud-* $(i)/usr/share/doc/$(package)/samples
40 dh_fixperms --exclude=web-cookies
50 # There are no architecture-dependent files to be uploaded
51 # generated by this package. If there were any they would be
55 # Below here is fairly generic really
57 binary: binary-indep binary-arch
59 .PHONY: binary binary-arch binary-indep clean