From 82bada47316b25fb6c3755680414f32884caf0e5 Mon Sep 17 00:00:00 2001 From: damiano Date: Tue, 22 Dec 1998 17:19:28 +0000 Subject: Debianisation des sources de la version de Stéphane C --- debian/rules | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index 00dfae6..d5e8861 100755 --- a/debian/rules +++ b/debian/rules @@ -4,8 +4,8 @@ package=ivy-c -version=$(shell expr `pwd` : '.*-\([0-9.]*\)') -version_major=$(shell expr `pwd` : '.*-\([0-9]*\).[0-9.]*') +VERSION=`sed -n 's/.*(\([^)]*\)).*/\1/p' changelog | head -1 | sed -n 's/\([0-9]*\)\..*/\1/p'` +MAJOR_MINOR=`sed -n 's/.*(\([^)]*\)).*/\1/p' changelog | head -1 | sed -n 's/[0-9]*\.\([0-9\.]*\).*/\1/p'` build: $(checkdir) @@ -33,7 +33,7 @@ binary-arch: checkroot build install -d debian/tmp cd debian/tmp && install -d `cat ../dirs` - cd src && make install DESTDIR=`pwd`/../debian/tmp + cd src && make install DESTDIR=`pwd`/../debian/tmp VERSION=$(VERSION) MAJOR=$(MAJOR) MINOR=$MINOR debstd -rmdir debian/tmp/usr/include -- cgit v1.1