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 diff
     1.1 --- a/rules	Sat Jun 14 19:19:02 2008 +0200
     1.2 +++ b/rules	Sun Jun 15 16:36:56 2008 +0200
     1.3 @@ -1,18 +1,16 @@
     1.4  #!/usr/bin/make -f
     1.5  
     1.6 +CFLAGS = -Wall -g
     1.7  
     1.8 -#CFLAGS = -Wall -g
     1.9 -
    1.10 -#ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
    1.11 -#CFLAGS += -O0
    1.12 -#else
    1.13 -#CFLAGS += -O2
    1.14 -#endif
    1.15 +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
    1.16 +	CFLAGS += -O0
    1.17 +else
    1.18 +	CFLAGS += -O2
    1.19 +endif
    1.20  
    1.21  
    1.22  
    1.23  build: build-stamp
    1.24 -
    1.25  build-stamp:
    1.26  	dh_testdir
    1.27  	$(MAKE)
    1.28 @@ -34,27 +32,21 @@
    1.29  	dh_installdirs
    1.30  	$(MAKE) DESTDIR=$(CURDIR)/debian/resize-gd install PREFIX=/usr
    1.31  
    1.32 +
    1.33  binary: binary-arch binary-indep
    1.34  binary-indep:
    1.35 -# Build architecture-dependent files here.
    1.36  binary-arch: build install
    1.37  	dh_testdir
    1.38  	dh_testroot
    1.39 -	dh_installchangelogs
    1.40  	dh_installdocs
    1.41 -	dh_installexamples
    1.42 -#	dh_install
    1.43 +	dh_installchangelogs ChangeLog
    1.44  	dh_installman
    1.45 -	dh_link
    1.46  	dh_strip
    1.47  	dh_compress
    1.48  	dh_fixperms
    1.49 -	dh_makeshlibs
    1.50 -	dh_installdeb
    1.51 -	dh_shlibdeps
    1.52  	dh_gencontrol
    1.53  	dh_md5sums
    1.54  	dh_builddeb
    1.55  
    1.56  
    1.57 -.PHONY: build clean binary binary-arch binary-indep install
    1.58 +.PHONY: build build-stamp clean install binary binary-arch binary-indep