From 4681af8366229fbac672bc17231b4969b1a026ab Mon Sep 17 00:00:00 2001 From: "Joop Stakenborg, PG4I" Date: Fri, 8 Nov 2002 18:24:29 +0000 Subject: [PATCH] move .la, .a, .so files to the correct package git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1262 7ae35d74-ebe9-4afe-98af-79ac388436b8 --- debian/rules | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/debian/rules b/debian/rules index 6bbe7dd37..b354eb405 100644 --- a/debian/rules +++ b/debian/rules @@ -8,6 +8,8 @@ # This is the debhelper compatability version to use. export DH_COMPAT=3 +version=`cat configure.ac|grep AM_INIT|cut -d"," -f2|cut -d")" -f1|cut -d" " -f2` + configure: configure-stamp configure-stamp: dh_testdir @@ -48,11 +50,13 @@ install: build # Move the appropriate files into the development package.. mv $(CURDIR)/debian/tmp/usr/lib/libhamlib.so $(CURDIR)/debian/hamlib-dev/usr/lib/ mv $(CURDIR)/debian/tmp/usr/lib/*.a $(CURDIR)/debian/hamlib-dev/usr/lib/ + mv $(CURDIR)/debian/tmp/usr/lib/*.la $(CURDIR)/debian/hamlib-dev/usr/lib/ mv $(CURDIR)/debian/tmp/usr/include/hamlib $(CURDIR)/debian/hamlib-dev/usr/include/ # Move the appropriate files into the runtime package.. - mv $(CURDIR)/debian/tmp/usr/lib/*.so $(CURDIR)/debian/hamlib1/usr/lib/ - mv $(CURDIR)/debian/tmp/usr/lib/*.la $(CURDIR)/debian/hamlib1/usr/lib/ + mv $(CURDIR)/debian/tmp/usr/lib/libhamlib-$(version).so.1 $(CURDIR)/debian/hamlib1/usr/lib/ + mv $(CURDIR)/debian/tmp/usr/lib/libhamlib-$(version).so.1.0.0 $(CURDIR)/debian/hamlib1/usr/lib/ + mv $(CURDIR)/debian/tmp/usr/lib/hamlib-*so $(CURDIR)/debian/hamlib1/usr/lib/ # Move the appropriate files into the documentation package.. # mv $(CURDIR)/doc/html $(CURDIR)/debian/hamlib-doc/usr/share/doc/hamlib-doc/ @@ -62,6 +66,7 @@ install: build mv $(CURDIR)/debian/tmp/usr/bin/rigctl $(CURDIR)/debian/hamlib-utils/usr/bin/ mv $(CURDIR)/debian/tmp/usr/bin/rotctl $(CURDIR)/debian/hamlib-utils/usr/bin/ mv $(CURDIR)/debian/tmp/usr/share/man/man1/rigctl.1 $(CURDIR)/debian/hamlib-utils/usr/share/man/man1 + mv $(CURDIR)/debian/tmp/usr/share/man/man1/rotctl.1 $(CURDIR)/debian/hamlib-utils/usr/share/man/man1 # Build architecture-independent files here. binary-indep: build install