]> git.donarmstrong.com Git - debhelper.git/blob - debian/rules
r1: Initial revision
[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 test_files=dh_lib
6
7 build:
8         ./dh_testdir $(test_files)
9
10 clean:
11         ./dh_testdir $(test_files)
12         ./dh_testroot
13         ./dh_clean
14
15 # Build architecture-dependent files here.
16 binary-arch: build
17         # We have nothing to do by default.
18
19 # Build architecture-independent files here.
20 binary-indep: build
21         ./dh_testdir $(test_files)
22         ./dh_testroot
23         ./dh_clean
24
25         install -d debian/tmp/usr/bin
26         find . -perm +111 -maxdepth 1 -type f \
27                 -exec install -p {} debian/tmp/usr/bin \;
28         install -d debian/tmp/usr/lib/debhelper
29         cp dh_lib debian/tmp/usr/lib/debhelper
30
31         ./dh_installdocs TODO
32         ./dh_installexamples examples/*
33 #       ./dh_installmenu
34         ./dh_installmanpages
35         ./dh_installchangelogs
36         ./dh_compress
37         ./dh_installdebfiles
38         ./dh_fixperms
39         ./dh_builddeb
40
41 binary: binary-indep binary-arch
42 .PHONY: build clean binary-indep binary-arch binary