comparison rules @ 1:69dc44a72af3

updated
author meillo@marmaro.de
date Sun, 15 Jun 2008 16:36:56 +0200
parents 5fa0beba15d8
children d13cced55e31
comparison
equal deleted inserted replaced
0:5fa0beba15d8 1:69dc44a72af3
1 #!/usr/bin/make -f 1 #!/usr/bin/make -f
2 2
3 CFLAGS = -Wall -g
3 4
4 #CFLAGS = -Wall -g 5 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
5 6 CFLAGS += -O0
6 #ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) 7 else
7 #CFLAGS += -O0 8 CFLAGS += -O2
8 #else 9 endif
9 #CFLAGS += -O2
10 #endif
11 10
12 11
13 12
14 build: build-stamp 13 build: build-stamp
15
16 build-stamp: 14 build-stamp:
17 dh_testdir 15 dh_testdir
18 $(MAKE) 16 $(MAKE)
19 touch $@ 17 touch $@
20 18
32 dh_testroot 30 dh_testroot
33 dh_clean -k 31 dh_clean -k
34 dh_installdirs 32 dh_installdirs
35 $(MAKE) DESTDIR=$(CURDIR)/debian/resize-gd install PREFIX=/usr 33 $(MAKE) DESTDIR=$(CURDIR)/debian/resize-gd install PREFIX=/usr
36 34
35
37 binary: binary-arch binary-indep 36 binary: binary-arch binary-indep
38 binary-indep: 37 binary-indep:
39 # Build architecture-dependent files here.
40 binary-arch: build install 38 binary-arch: build install
41 dh_testdir 39 dh_testdir
42 dh_testroot 40 dh_testroot
43 dh_installchangelogs
44 dh_installdocs 41 dh_installdocs
45 dh_installexamples 42 dh_installchangelogs ChangeLog
46 # dh_install
47 dh_installman 43 dh_installman
48 dh_link
49 dh_strip 44 dh_strip
50 dh_compress 45 dh_compress
51 dh_fixperms 46 dh_fixperms
52 dh_makeshlibs
53 dh_installdeb
54 dh_shlibdeps
55 dh_gencontrol 47 dh_gencontrol
56 dh_md5sums 48 dh_md5sums
57 dh_builddeb 49 dh_builddeb
58 50
59 51
60 .PHONY: build clean binary binary-arch binary-indep install 52 .PHONY: build build-stamp clean install binary binary-arch binary-indep