]> git.sur5r.net Git - i3/i3status/blob - debian/rules
Update debian packaging for 2.0
[i3/i3status] / 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         $(MAKE)
17         touch $@
18
19 clean: 
20         dh_testdir
21         dh_testroot
22         rm -f build-stamp config.status man/*.xml
23         [ ! -f Makefile ] || $(MAKE) distclean
24         dh_clean 
25
26 install: build
27         dh_testdir
28         dh_testroot
29         dh_clean -k
30         dh_installdirs
31         $(MAKE) DESTDIR=$(CURDIR)/debian/i3status/ install
32
33 # Build architecture-independent files here.
34 binary-indep: build install
35 # We have nothing to do by default.
36
37 # Build architecture-dependent files here.
38 binary-arch: build install
39         dh_testdir
40         dh_testroot
41         dh_installchangelogs
42         dh_installdocs
43         dh_installexamples
44         dh_installman
45         dh_link
46         dh_strip
47         dh_compress
48         dh_fixperms
49         dh_installdeb
50         dh_shlibdeps
51         dh_gencontrol
52         dh_md5sums
53         dh_builddeb
54
55 binary: binary-indep binary-arch
56 .PHONY: build clean binary-indep binary-arch binary install