]> iEval git - gtk-theme-switch.git/blob - debian/rules
Imported Debian patch 2.1.0-2
[gtk-theme-switch.git] / debian / rules
1 #!/usr/bin/make -f
2 # debian/rules for gtk-theme-switch
3
4 BDIR = debian/gtk-theme-switch
5
6 export CFLAGS = -Wall -g $(OPTIMIZE)
7
8 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
9 OPTIMIZE = -O0
10 else
11 OPTIMIZE = -O2
12 endif
13
14 build: build-stamp
15 build-stamp:
16 dh_testdir
17 $(MAKE)
18 touch build-stamp
19
20 clean:
21 dh_testdir
22 dh_testroot
23 rm -f build-stamp gtk-theme-switch2
24 dh_clean
25
26 install: build
27 dh_testdir
28 dh_testroot
29 dh_prep
30 dh_installdirs usr/bin
31 install -m 755 gtk-theme-switch2 $(BDIR)/usr/bin
32
33 binary-indep:
34 # Nothing to be done.
35
36 binary-arch: build install
37 dh_testdir
38 dh_testroot
39
40 dh_installmenu
41 dh_installdocs todo readme
42 dh_installchangelogs ChangeLog
43
44 dh_installman gtk-theme-switch2.1
45 dh_compress
46
47 dh_link
48 dh_strip
49 dh_fixperms
50
51 dh_installdeb
52 dh_shlibdeps
53 dh_gencontrol
54 dh_md5sums
55 dh_builddeb
56
57 binary: binary-arch
58 .PHONY: build clean binary-arch binary install binary-indep
This page took 0.046057 seconds and 4 git commands to generate.