2006-01-20 15:33:13 +00:00
|
|
|
#!/usr/bin/make -f
|
|
|
|
|
|
|
|
clean:
|
|
|
|
dh_testdir
|
|
|
|
dh_testroot
|
|
|
|
debconf-updatepo
|
|
|
|
dh_clean
|
|
|
|
|
|
|
|
build:
|
|
|
|
|
|
|
|
install:
|
|
|
|
dh_testdir
|
|
|
|
dh_testroot
|
2009-03-28 19:02:28 +00:00
|
|
|
dh_prep
|
2006-01-20 15:33:13 +00:00
|
|
|
dh_installdirs
|
|
|
|
|
|
|
|
install -D --mode=644 index.html debian/ldap-account-manager/usr/share/ldap-account-manager/index.html
|
|
|
|
install -D --mode=644 VERSION debian/ldap-account-manager/usr/share/ldap-account-manager/VERSION
|
|
|
|
install -D --mode=644 tmp/.htaccess debian/ldap-account-manager/var/lib/ldap-account-manager/tmp/.htaccess
|
|
|
|
install -D --mode=644 config/.htaccess debian/ldap-account-manager/var/lib/ldap-account-manager/config/.htaccess
|
|
|
|
install -D --mode=644 config/language debian/ldap-account-manager/var/lib/ldap-account-manager/config/language
|
|
|
|
install -D --mode=644 config/lam.conf_sample debian/ldap-account-manager/var/lib/ldap-account-manager/config/lam.conf_sample
|
|
|
|
install -D --mode=644 config/config.cfg_sample debian/ldap-account-manager/var/lib/ldap-account-manager/config/config.cfg_sample
|
2008-02-16 10:13:21 +00:00
|
|
|
install -d --mode=755 debian/ldap-account-manager/usr/share/ldap-account-manager/config-samples
|
2008-02-16 10:04:50 +00:00
|
|
|
cp -r config/profiles debian/ldap-account-manager/usr/share/ldap-account-manager/config-samples/
|
|
|
|
install -D --mode=644 config/profiles/.htaccess debian/ldap-account-manager/var/lib/ldap-account-manager/config/profiles/.htaccess
|
|
|
|
cp -r config/pdf debian/ldap-account-manager/usr/share/ldap-account-manager/config-samples/
|
|
|
|
install -D --mode=644 config/pdf/.htaccess debian/ldap-account-manager/var/lib/ldap-account-manager/config/pdf/.htaccess
|
2008-02-16 11:03:40 +00:00
|
|
|
install -D --mode=644 config/pdf/logos/.htaccess debian/ldap-account-manager/var/lib/ldap-account-manager/config/pdf/logos/.htaccess
|
2008-02-16 10:04:50 +00:00
|
|
|
cp -r config/selfService debian/ldap-account-manager/usr/share/ldap-account-manager/config-samples/
|
|
|
|
install -D --mode=644 config/selfService/.htaccess debian/ldap-account-manager/var/lib/ldap-account-manager/config/selfService/.htaccess
|
2006-01-20 15:33:13 +00:00
|
|
|
cp -r graphics debian/ldap-account-manager/usr/share/ldap-account-manager/
|
|
|
|
install -D --mode=644 help/help.inc debian/ldap-account-manager/usr/share/ldap-account-manager/help/help.inc
|
|
|
|
install -D --mode=644 lib/.htaccess debian/ldap-account-manager/usr/share/ldap-account-manager/lib/.htaccess
|
|
|
|
install -D --mode=644 lib/*.inc debian/ldap-account-manager/usr/share/ldap-account-manager/lib
|
|
|
|
install -D --mode=644 lib/ufpdf.php debian/ldap-account-manager/usr/share/ldap-account-manager/lib/ufpdf.php
|
|
|
|
cp -r lib/font debian/ldap-account-manager/usr/share/ldap-account-manager/lib/
|
|
|
|
cp -r lib/modules debian/ldap-account-manager/usr/share/ldap-account-manager/lib/
|
|
|
|
cp -r lib/types debian/ldap-account-manager/usr/share/ldap-account-manager/lib/
|
2009-11-07 18:52:56 +00:00
|
|
|
cp -r lib/tools debian/ldap-account-manager/usr/share/ldap-account-manager/lib/
|
2006-01-20 15:33:13 +00:00
|
|
|
cp -r locale debian/ldap-account-manager/usr/share/ldap-account-manager/
|
|
|
|
install -D --mode=644 sess/.htaccess debian/ldap-account-manager/var/lib/ldap-account-manager/sess/.htaccess
|
|
|
|
install -D --mode=644 style/*.css debian/ldap-account-manager/usr/share/ldap-account-manager/style
|
|
|
|
cp -r templates debian/ldap-account-manager/usr/share/ldap-account-manager/
|
|
|
|
|
2008-07-22 18:31:35 +00:00
|
|
|
install -D --mode=755 lib/lamdaemon.pl debian/ldap-account-manager-lamdaemon/usr/share/ldap-account-manager/lib/lamdaemon.pl
|
2008-10-20 18:16:26 +00:00
|
|
|
install -D --mode=755 debian/README-lamdaemon.Debian debian/ldap-account-manager-lamdaemon/usr/share/doc/ldap-account-manager-lamdaemon/README.Debian
|
2008-07-22 18:14:03 +00:00
|
|
|
|
2006-01-20 15:33:13 +00:00
|
|
|
# Build architecture-independent files here.
|
|
|
|
binary-dep: build install
|
|
|
|
|
|
|
|
# Build architecture-independent files here.
|
|
|
|
binary-indep: build install
|
2009-12-16 18:59:40 +00:00
|
|
|
rm docs/.htaccess
|
2006-01-20 15:33:13 +00:00
|
|
|
dh_testdir
|
|
|
|
dh_testroot
|
|
|
|
dh_installchangelogs HISTORY
|
|
|
|
dh_installdocs
|
|
|
|
dh_install
|
|
|
|
dh_compress
|
|
|
|
dh_fixperms
|
|
|
|
install -D --mode=644 debian/lam.apache.conf debian/ldap-account-manager/etc/ldap-account-manager/apache.conf
|
|
|
|
install -D --mode=644 config/config.cfg_sample debian/ldap-account-manager/etc/ldap-account-manager/config.cfg
|
|
|
|
dh_link /etc/ldap-account-manager/config.cfg /var/lib/ldap-account-manager/config/config.cfg
|
2008-02-16 10:04:50 +00:00
|
|
|
install -D --mode=644 config/shells debian/ldap-account-manager/etc/ldap-account-manager/shells
|
|
|
|
dh_link /etc/ldap-account-manager/shells /var/lib/ldap-account-manager/config/shells
|
2008-01-06 19:12:16 +00:00
|
|
|
install -D --mode=644 config/passwordMailTemplate.txt debian/ldap-account-manager/etc/ldap-account-manager/passwordMailTemplate.txt
|
|
|
|
dh_link /etc/ldap-account-manager/passwordMailTemplate.txt /var/lib/ldap-account-manager/config/passwordMailTemplate.txt
|
2006-01-20 15:33:13 +00:00
|
|
|
dh_installdebconf
|
|
|
|
dh_installdeb
|
|
|
|
dh_gencontrol
|
|
|
|
dh_md5sums
|
|
|
|
dh_builddeb
|
|
|
|
|
|
|
|
binary: binary-indep
|
|
|
|
.PHONY: build clean binary-indep binary install configure
|
|
|
|
|
2006-05-22 12:30:28 +00:00
|
|
|
binary-arch:
|
|
|
|
|
|
|
|
|