]> git.sur5r.net Git - i3/i3lock/blob - debian/rules
manpage: PNG instead of XPM
[i3/i3lock] / 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 config.status: configure
13         dh_testdir
14         touch $@
15
16 build:
17         dh_testdir
18
19         # Add here commands to compile the package.
20         $(MAKE)
21
22         touch $@
23
24 clean: 
25         dh_testdir
26         dh_testroot
27         rm -f build
28
29         # Add here commands to clean up after the build process.
30         [ ! -f Makefile ] || $(MAKE) clean 
31
32         dh_prep
33
34 install: build
35         dh_testdir
36         dh_testroot
37         dh_prep
38         dh_installdirs
39
40         $(MAKE) DESTDIR=$(CURDIR)/debian/i3lock/ install
41         mkdir -p $(CURDIR)/debian/i3lock/usr/share/man/man1
42         cp i3lock.1 $(CURDIR)/debian/i3lock/usr/share/man/man1
43
44
45 # Build architecture-independent files here.
46 binary-indep: build install
47 # We have nothing to do by default.
48
49 # Build architecture-dependent files here.
50 binary-arch: build install
51         dh_testdir
52         dh_testroot
53         dh_installchangelogs 
54         dh_installdocs
55         dh_installman
56         dh_link
57         dh_strip
58         dh_compress
59         dh_fixperms
60         dh_installdeb
61         dh_shlibdeps
62         dh_gencontrol
63         dh_md5sums
64         dh_builddeb
65
66 binary: binary-indep binary-arch
67 .PHONY: build clean binary-indep binary-arch binary install