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