Add the Apache module.
[itkacl] / libapache2-mod-authz-itkacl-0.5 / debian / rules
1 #! /usr/bin/make -f
2
3 build:
4         dh_testdir
5         $(MAKE)
6         apxs2 -c mod_authz_itkacl.c -litkacl
7
8 clean:
9         dh_testdir
10         dh_testroot
11         dh_clean 
12         $(MAKE) clean
13
14 binary: binary-arch
15 binary-indep:
16 binary-arch: build
17         dh_testdir
18         dh_testroot
19         dh_installdirs
20         
21         install -m 0644 debian/authz_itkacl.load debian/libapache2-mod-authz-itkacl/etc/apache2/mods-available/
22         install .libs/mod_authz_itkacl.so debian/libapache2-mod-authz-itkacl/usr/lib/apache2/modules/
23         
24         dh_installchangelogs 
25         dh_strip
26         dh_compress
27         dh_fixperms
28         dh_installdeb
29         dh_shlibdeps
30         dh_gencontrol
31         dh_md5sums
32         dh_builddeb
33
34 .PHONY: build clean binary-indep binary-arch binary