-libeet (0.0.0-0cvs20021005) unstable; urgency=low
+libeet (0.0.2-0cvs20030104) unstable; urgency=low
* a CVS release
- -- Sytse Wielinga <s.b.wielinga@student.utwente.nl> Sat, 5 Oct 2002 12:12:06 +0200
+ -- Sytse Wielinga <s.b.wielinga@student.utwente.nl> Sat, 4 Jan 2003 13:06:24 +0100
# This is the debhelper compatibility version to use.
export DH_COMPAT=3
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+cfg:=--prefix=/usr --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE)
+
ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
CFLAGS += -g
major=`ls src/.libs/lib*.so.* | \
awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
+configure: configure-stamp
+configure-stamp:
+ dh_testdir
+
+ test -x autogen.sh && ./autogen.sh $(cfg) || ./configure $(cfg)
+
+ touch configure-stamp
+
build: build-stamp
-build-stamp:
+build-stamp: configure-stamp
dh_testdir
- ./configure --prefix=/usr build
+ $(MAKE)
touch build-stamp
clean:
dh_testdir
dh_testroot
- rm -f build-stamp
+ rm -f build-stamp configure-stamp
- -./configure clean
+ -$(MAKE) distclean
dh_clean
dh_clean -k
dh_installdirs
- ./configure --prefix=$(CURDIR)/debian/tmp/usr install
+ $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
binary-indep: build install