debian/resize-gd-debian

diff rules @ 0:5fa0beba15d8

inital commit
author meillo@marmaro.de
date Sat, 14 Jun 2008 19:19:02 +0200
parents
children 69dc44a72af3
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/rules	Sat Jun 14 19:19:02 2008 +0200
     1.3 @@ -0,0 +1,60 @@
     1.4 +#!/usr/bin/make -f
     1.5 +
     1.6 +
     1.7 +#CFLAGS = -Wall -g
     1.8 +
     1.9 +#ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
    1.10 +#CFLAGS += -O0
    1.11 +#else
    1.12 +#CFLAGS += -O2
    1.13 +#endif
    1.14 +
    1.15 +
    1.16 +
    1.17 +build: build-stamp
    1.18 +
    1.19 +build-stamp:
    1.20 +	dh_testdir
    1.21 +	$(MAKE)
    1.22 +	touch $@
    1.23 +
    1.24 +
    1.25 +clean:
    1.26 +	dh_testdir
    1.27 +	dh_testroot
    1.28 +	rm -f build-stamp
    1.29 +	-$(MAKE) realclean
    1.30 +	dh_clean
    1.31 +
    1.32 +
    1.33 +install: build
    1.34 +	dh_testdir
    1.35 +	dh_testroot
    1.36 +	dh_clean -k
    1.37 +	dh_installdirs
    1.38 +	$(MAKE) DESTDIR=$(CURDIR)/debian/resize-gd install PREFIX=/usr
    1.39 +
    1.40 +binary: binary-arch binary-indep
    1.41 +binary-indep:
    1.42 +# Build architecture-dependent files here.
    1.43 +binary-arch: build install
    1.44 +	dh_testdir
    1.45 +	dh_testroot
    1.46 +	dh_installchangelogs
    1.47 +	dh_installdocs
    1.48 +	dh_installexamples
    1.49 +#	dh_install
    1.50 +	dh_installman
    1.51 +	dh_link
    1.52 +	dh_strip
    1.53 +	dh_compress
    1.54 +	dh_fixperms
    1.55 +	dh_makeshlibs
    1.56 +	dh_installdeb
    1.57 +	dh_shlibdeps
    1.58 +	dh_gencontrol
    1.59 +	dh_md5sums
    1.60 +	dh_builddeb
    1.61 +
    1.62 +
    1.63 +.PHONY: build clean binary binary-arch binary-indep install