743e180bc42f91e1eabd4812f52962f17d0b2baa
[manu/mod-proxy-html.git] / debian / rules
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3 # Sample debian/rules that uses debhelper.
4 # This file was originally written by Joey Hess and Craig Small.
5 # As a special exception, when this file is copied by dh-make into a
6 # dh-make output file, you may use that output file without restriction.
7 # This special exception was added by Craig Small in version 0.37 of dh-make.
8
9 # Uncomment this to turn on verbose mode.
10 #export DH_VERBOSE=1
11
12 patch:
13         dpatch apply-all
14
15 build: build-stamp
16
17 build-stamp: patch
18         dh_testdir
19         apxs2 -c -I/usr/include/libxml2 mod_proxy_html.c
20         touch build-stamp
21
22 clean:
23         dh_testdir
24         dh_testroot
25         rm -f build-stamp mod_proxy_html.la  mod_proxy_html.lo  mod_proxy_html.o  mod_proxy_html.slo
26         rm -rf .libs
27         dh_clean 
28         dpatch deapply-all
29         rm -rf debian/patched
30
31 install: build
32         dh_testdir
33         dh_testroot
34         dh_clean -k 
35         dh_installdirs
36         dh_install
37
38 binary-indep:
39
40 binary-arch: build install
41         dh_testdir
42         dh_testroot
43         dh_installchangelogs 
44         dh_installdocs
45         dh_link
46         dh_strip
47         dh_compress
48         dh_fixperms
49         dh_makeshlibs
50         dh_installdeb
51         dh_shlibdeps
52         dh_gencontrol
53         dh_md5sums
54         dh_builddeb
55
56 binary: binary-arch
57 .PHONY: build clean binary-arch binary-indep binary install patch