2 # Sample debian/rules that uses debhelper.
3 # GNU copyright 1997 to 1999 by Joey Hess.
5 # Uncomment this to turn on verbose mode.
8 # This is the debhelper compatibility version to use.
12 ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
15 ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
19 version=`ls src/.libs/lib*.so.* | \
20 awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
21 major=`ls src/.libs/lib*.so.* | \
22 awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
28 ./configure --prefix=/usr build
47 ./configure --prefix=$(CURDIR)/debian/tmp/usr install
50 binary-indep: build install
52 binary-arch: build install
57 dh_installdocs -plibeet0 README AUTHORS
58 dh_installdocs -plibeet0-dev
59 dh_installman -plibeet0 debian/eet.1
60 dh_installman -plibeet0-dev debian/eet-config.1
73 binary: binary-indep binary-arch
74 .PHONY: build clean binary-indep binary-arch binary install