414f1fcce49aae8425b7dde8e769ce16907d6c46
[mirror/userdir-ldap.git] / debian / rules
1 #! /usr/bin/make -f
2 # -*- make -*-
3 # Made with the aid of debmake, by Christoph Lameter,
4 # based on the sample debian/rules file for GNU hello by Ian Jackson.
5
6 build:
7         dh_testdir
8         $(MAKE) -C doc
9         touch build
10
11 clean:
12         dh_testdir
13         rm -f build
14         find . -name '*.py[co]' -print0 | xargs -0 --no-run-if-empty rm -f
15         $(MAKE) -C doc clean
16         dh_clean
17
18 binary-indep: build
19         dh_testdir
20         dh_testroot
21         dh_clean -k
22         dh_installdirs
23         dh_install
24         dh_installcron --name=ud-replicate
25         dh_installdocs
26         dh_installchangelogs
27         dh_installman
28         dh_fixperms
29         dh_compress
30         dh_pysupport
31         dh_installdeb
32         dh_gencontrol
33         dh_md5sums
34         dh_builddeb
35
36 binary-arch: build
37 # There are no architecture-dependent files to be uploaded
38 # generated by this package.  If there were any they would be
39 # made here.
40
41
42 # Below here is fairly generic really
43
44 binary: binary-indep binary-arch
45
46 .PHONY: binary binary-arch binary-indep clean