a209a25a7fd6cd1086bf042a57fdfa377ce72b92
[grml-live-grml.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         touch $@
17
18 clean:
19         dh_testdir
20         dh_testroot
21         rm -f build-stamp
22
23         dh_clean
24         # clean up the stuff dh_clean leaves behind
25         -rm -rf debian/build
26
27 install: build
28         dh_testdir
29         dh_testroot
30         dh_prep
31         dh_installdirs
32
33 # Build architecture-dependent files here.
34 binary-arch: build install
35         dh_testdir
36         dh_testroot
37         dh_install
38         dh_installchangelogs
39         dh_installdocs TODO
40         dh_link
41         dh_strip
42         dh_compress
43         dh_fixperms
44         dh_installdeb
45         dh_shlibdeps
46         dh_gencontrol
47         dh_md5sums
48         dh_builddeb
49
50 # Build architecture-independent files here.
51 binary-indep: build install
52
53 binary: binary-indep binary-arch
54 .PHONY: build clean binary-indep binary-arch binary install