Mercurial > debian > resize-gd-debian
diff rules @ 1:69dc44a72af3
updated
author | meillo@marmaro.de |
---|---|
date | Sun, 15 Jun 2008 16:36:56 +0200 |
parents | 5fa0beba15d8 |
children | d13cced55e31 |
line wrap: on
line diff
--- a/rules Sat Jun 14 19:19:02 2008 +0200 +++ b/rules Sun Jun 15 16:36:56 2008 +0200 @@ -1,18 +1,16 @@ #!/usr/bin/make -f - -#CFLAGS = -Wall -g +CFLAGS = -Wall -g -#ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) -#CFLAGS += -O0 -#else -#CFLAGS += -O2 -#endif +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif build: build-stamp - build-stamp: dh_testdir $(MAKE) @@ -34,27 +32,21 @@ dh_installdirs $(MAKE) DESTDIR=$(CURDIR)/debian/resize-gd install PREFIX=/usr + binary: binary-arch binary-indep binary-indep: -# Build architecture-dependent files here. binary-arch: build install dh_testdir dh_testroot - dh_installchangelogs dh_installdocs - dh_installexamples -# dh_install + dh_installchangelogs ChangeLog dh_installman - dh_link dh_strip dh_compress dh_fixperms - dh_makeshlibs - dh_installdeb - dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb -.PHONY: build clean binary binary-arch binary-indep install +.PHONY: build build-stamp clean install binary binary-arch binary-indep