Create a libapache2-mod-xml2enc-dev package to ship .h file used to build other
[manu/mod-xml2enc.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 build: build-stamp
13
14 build-stamp:
15         dh_testdir
16         apxs2 -c -I/usr/include/libxml2/ mod_xml2enc.c
17         touch build-stamp
18
19 clean:
20         dh_testdir
21         dh_testroot
22         rm -f build-stamp mod_xml2enc.la  mod_xml2enc.lo  mod_xml2enc.o  mod_xml2enc.slo
23         rm -rf .libs
24         dh_clean 
25
26 install: build
27         dh_testdir
28         dh_testroot
29         dh_clean -k 
30         dh_installdirs
31         dh_install
32
33 binary-indep:
34
35 binary-arch: build install
36         dh_testdir
37         dh_testroot
38         dh_installchangelogs 
39         dh_link
40         dh_strip
41         dh_compress
42         dh_fixperms
43         dh_makeshlibs
44         dh_installdeb
45         dh_shlibdeps
46         dh_gencontrol
47         dh_md5sums
48         dh_builddeb
49
50 binary: binary-arch
51 .PHONY: build clean binary-arch binary-indep binary install