initial checkin
[grml-tips.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:
13         echo "nothing to be done"
14
15 clean:
16         dh_testdir
17         dh_testroot
18         dh_clean 
19
20 install:
21         dh_testdir
22         dh_testroot
23         dh_clean -k 
24         dh_installdirs usr/bin usr/share/grml-tips
25
26         install -m 755 grml-tips debian/grml-tips/usr/bin/grml-tips
27         install -m 644 grml_tips debian/grml-tips/usr/share/grml-tips/grml_tips
28
29 # Build architecture-independent files here.
30 binary-indep: install
31 # We have nothing to do by default.
32
33 # Build architecture-dependent files here.
34 binary-arch: install
35         dh_testdir
36         dh_testroot
37         dh_installchangelogs 
38         dh_installdocs
39         dh_installexamples
40         dh_installman grml-tips.1
41         dh_link
42         dh_strip
43         dh_compress
44         dh_fixperms
45         dh_installdeb
46         dh_shlibdeps
47         dh_gencontrol
48         dh_md5sums
49         dh_builddeb
50
51 binary: binary-indep binary-arch
52 .PHONY: clean binary-indep binary-arch binary install