]> git.donarmstrong.com Git - debhelper.git/blob - debian/rules
247b48b5d0964e2dd5e3a766d293af69c93b4dc7
[debhelper.git] / debian / rules
1 #!/usr/bin/make -f
2 # Note that I have to refer to debhelper programs witrh ./, to make sure
3 # I run the most current ones.
4
5 export DH_VERBOSE=1
6
7 test_files=dh_lib
8
9 build:
10         ./dh_testdir $(test_files)
11
12 clean:
13         ./dh_testdir $(test_files)
14         ./dh_testroot
15         ./dh_clean
16
17 # Build architecture-dependent files here.
18 binary-arch: build
19 # We have nothing to do by default.
20
21 # Build architecture-independent files here.
22 binary-indep: build
23         ./dh_testdir $(test_files)
24         ./dh_testroot
25         ./dh_clean
26
27         install -d debian/tmp/usr/bin
28         find . -perm +111 -maxdepth 1 -type f \
29                 -exec install -p {} debian/tmp/usr/bin \;
30         install -d debian/tmp/usr/lib/debhelper
31         cp dh_lib debian/tmp/usr/lib/debhelper
32
33         ./dh_installdocs TODO README
34         ./dh_installexamples examples/*
35 #       ./dh_installmenu
36         ./dh_installmanpages
37         ./dh_installchangelogs
38         ./dh_compress
39         ./dh_installdebfiles
40         ./dh_fixperms
41         ./dh_builddeb
42
43 binary: binary-indep binary-arch
44 .PHONY: build clean binary-indep binary-arch binary