debian/resize-gd-debian

view rules @ 3:b153420a1169

added watch file
author user@debian-sid
date Sun, 15 Jun 2008 17:58:44 +0200
parents 5fa0beba15d8
children d13cced55e31
line source
1 #!/usr/bin/make -f
3 CFLAGS = -Wall -g
5 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
6 CFLAGS += -O0
7 else
8 CFLAGS += -O2
9 endif
13 build: build-stamp
14 build-stamp:
15 dh_testdir
16 $(MAKE)
17 touch $@
20 clean:
21 dh_testdir
22 dh_testroot
23 rm -f build-stamp
24 -$(MAKE) realclean
25 dh_clean
28 install: build
29 dh_testdir
30 dh_testroot
31 dh_clean -k
32 dh_installdirs
33 $(MAKE) DESTDIR=$(CURDIR)/debian/resize-gd install PREFIX=/usr
36 binary: binary-arch binary-indep
37 binary-indep:
38 binary-arch: build install
39 dh_testdir
40 dh_testroot
41 dh_installdocs
42 dh_installchangelogs ChangeLog
43 dh_installman
44 dh_strip
45 dh_compress
46 dh_fixperms
47 dh_gencontrol
48 dh_md5sums
49 dh_builddeb
52 .PHONY: build build-stamp clean install binary binary-arch binary-indep