Release new version 0.8.0
[grml-desktop.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-arch build-indep
13 build-arch: build-stamp
14 build-indep: build-stamp
15
16 build-stamp:
17         dh_testdir
18         touch $@
19
20 clean:
21         dh_testdir
22         dh_testroot
23         rm -f build-stamp
24         dh_clean 
25
26 install: build
27         dh_testdir
28         dh_testroot
29         dh_prep
30         dh_installdirs etc/skel
31
32         cp -a etc/skel debian/grml-desktop/etc/
33
34 # Build architecture-dependent files here.
35 binary-arch: build install
36 # We have nothing to do by default.
37
38 # Build architecture-independent files here.
39 binary-indep: build install
40         dh_testdir
41         dh_testroot
42         dh_installchangelogs
43         dh_installdocs
44         dh_installexamples
45         dh_installman
46         dh_link
47         dh_strip
48         dh_compress
49         mkdir -p debian/grml-desktop/usr/share/lintian/overrides/
50         cp -av debian/overrides debian/grml-desktop/usr/share/lintian/overrides/grml-desktop
51         dh_fixperms
52         dh_installdeb
53         find debian/grml-desktop/etc -type f ! -name \*.xpm ! -name \*.png -print | \
54         sed -e 's#^debian/grml-desktop##g' > debian/grml-desktop/DEBIAN/conffiles
55         chmod 0755  debian/grml-desktop/etc/skel/.config/rox.sourceforge.net/MIME-types/image
56         dh_shlibdeps
57         dh_gencontrol
58         dh_md5sums
59         dh_builddeb
60
61 binary: binary-indep binary-arch
62 .PHONY: build clean binary-indep binary-arch binary install