Whoops... seems raster has given up his writing-configure-by-hand-urge a while
authorswielinga <swielinga>
Sat, 4 Jan 2003 12:24:25 +0000 (12:24 +0000)
committerswielinga <swielinga@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 4 Jan 2003 12:24:25 +0000 (12:24 +0000)
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.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@6544 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

debian/changelog
debian/libeet0-dev.files
debian/rules

index 1201b20..d25254e 100644 (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
 
index 606c89f..f6d1c3a 100644 (file)
@@ -2,3 +2,4 @@ usr/bin/eet-config
 usr/include/*
 usr/lib/lib*.a
 usr/lib/lib*.so
+usr/lib/lib*.la
index 171d5dc..676df00 100644 (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)}'`
 
+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
 
@@ -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