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