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