Whoops... seems raster has given up his writing-configure-by-hand-urge a while

ago. Now the debian packaging works again and is perfect (I hope :-P)
Still have to check the man-pages for changes, though. And besides, those are
useful for non-debianers too.


SVN revision: 6544
This commit is contained in:
swielinga 2003-01-04 12:24:25 +00:00 committed by swielinga
parent 1f37c28e8f
commit 093d224dd0
3 changed files with 24 additions and 8 deletions

View File

@ -1,6 +1,6 @@
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

View File

@ -2,3 +2,4 @@ usr/bin/eet-config
usr/include/*
usr/lib/lib*.a
usr/lib/lib*.so
usr/lib/lib*.la

View File

@ -8,6 +8,13 @@
# 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
@ -21,20 +28,28 @@ version=`ls src/.libs/lib*.so.* | \
major=`ls src/.libs/lib*.so.* | \
awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
build: build-stamp
build-stamp:
configure: configure-stamp
configure-stamp:
dh_testdir
./configure --prefix=/usr build
test -x autogen.sh && ./autogen.sh $(cfg) || ./configure $(cfg)
touch configure-stamp
build: build-stamp
build-stamp: configure-stamp
dh_testdir
$(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
@ -44,7 +59,7 @@ install: build
dh_clean -k
dh_installdirs
./configure --prefix=$(CURDIR)/debian/tmp/usr install
$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
binary-indep: build install