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
Hamlib-1.1.4
Joop Stakenborg, PG4I 2002-11-08 18:24:29 +00:00
rodzic 07c0cbfc0d
commit 4681af8366
1 zmienionych plików z 7 dodań i 2 usunięć

9
debian/rules vendored
Wyświetl plik

@ -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