r10583: Automated commit for Debian build of clsql upstream-version-3.1.17
authorKevin M. Rosenberg <kevin@rosenberg.net>
Wed, 8 Jun 2005 20:14:24 +0000 (20:14 +0000)
committerKevin M. Rosenberg <kevin@rosenberg.net>
Wed, 8 Jun 2005 20:14:24 +0000 (20:14 +0000)
clsql-mysql.asd
clsql-uffi.asd
debian/rules

index 675a2ac32708ec84d68d1ce5648986cbcccaec85..0ac546d23b7616eef3080d2d1c4d517b67b0e7dd 100644 (file)
@@ -64,7 +64,7 @@
       (error 'operation-error :component c :operation o))))
 
 (defmethod operation-done-p ((o compile-op) (c clsql-mysql-source-file))
-  (or (and (probe-file #p"/usr/lib/clsql_mysql.so") t)
+  (or (and (probe-file #p"/usr/lib/clsql/clsql_mysql.so") t)
       (let ((lib (make-pathname :defaults (component-pathname c)
                                :type (uffi:default-foreign-library-type))))
        (and (probe-file lib) (probe-file (component-pathname c))
index d7d4ac61edbf67d38fdb3c21df25ec4e74d6809a..51eb3f1239900ee8e0fb857f82cc2d49f2ff616a 100644 (file)
@@ -70,7 +70,7 @@
       (error 'operation-error :component c :operation o))))
 
 (defmethod operation-done-p ((o compile-op) (c clsql-uffi-source-file))
-  (or (and (probe-file #p"/usr/lib/clsql_uffi.so") t)
+  (or (and (probe-file #p"/usr/lib/clsql/clsql_uffi.so") t)
       (let ((lib (make-pathname :defaults (component-pathname c)
                                :type (uffi:default-foreign-library-type))))
        (and (probe-file lib) (probe-file (component-pathname c))
index 29ba2ef1c502296f5a9d50a83696029746dcaea2..2296040eea7813ace5c609fb2a0fca0ef9579c3c 100755 (executable)
@@ -21,9 +21,9 @@ UPSTREAM_VER  := $(shell sed -n -e "s/${pkg} (\(.*\)-[0-9A-Za-z\.]).*/\1/p" < deb
 ## Lisp sources
 srcs           := $(wildcard sql/*.lisp) clsql.asd
 srcs-uffi      := $(wildcard uffi/*.lisp) $(wildcard uffi/*.c)
-srcs-uffi-so   = $(wildcard uffi/*.so.1)
+srcs-uffi-so   = $(wildcard uffi/*.so)
 srcs-mysql     := $(wildcard db-mysql/*.lisp) $(wildcard db-mysql/*.c)
-srcs-mysql-so  =  $(wildcard db-mysql/*.so.1)
+srcs-mysql-so  =  $(wildcard db-mysql/*.so)
 srcs-pg                := $(wildcard db-postgresql/*.lisp)
 srcs-pg-socket := $(wildcard db-postgresql-socket/*.lisp)
 srcs-aodbc     := $(wildcard db-aodbc/*.lisp)
@@ -44,10 +44,10 @@ clc-sql             := $(clc-source)/clsql
 lispdir-sql    := $(clc-sql)/sql
 clc-uffi       := $(clc-source)/clsql-uffi
 lispdir-uffi   := $(clc-uffi)/uffi
-sodir-uffi     := usr/lib
+sodir-uffi     := usr/lib/clsql
 clc-mysql      := $(clc-source)/clsql-mysql
 lispdir-mysql  := $(clc-mysql)/db-mysql
-sodir-mysql    := usr/lib
+sodir-mysql    := usr/lib/clsql
 clc-pg         := $(clc-source)/clsql-postgresql
 lispdir-pg     := $(clc-pg)/db-postgresql
 clc-pg-socket  := $(clc-source)/clsql-postgresql-socket
@@ -68,26 +68,18 @@ lispdir-tests       := $(clc-tests)/tests
 configure: configure-stamp
 configure-stamp:
        dh_testdir
-       # Add here commands to configure the package.
        touch configure-stamp
 
 
 build-arch: configure-stamp build-arch-stamp
 build-arch-stamp:
        dh_testdir
-       # Add here commands to compile the package.
        $(MAKE)
-       mv uffi/clsql_uffi.so uffi/clsql_uffi.so.1
-       mv db-mysql/clsql_mysql.so db-mysql/clsql_mysql.so.1
        touch build-arch-stamp
 
 build-indep: configure-stamp  build-indep-stamp
 build-indep-stamp:
        dh_testdir
-       # Add here command to compile/build the arch indep package.
-       # It's ok not to do anything here, if you don't need to build
-       #  anything for this package.
-       #/usr/bin/docbook-to-man debian/#PACKAGE#.sgml > #PACKAGE#.1
        touch build-indep-stamp
 
 build: build-arch build-indep
@@ -96,7 +88,6 @@ clean:
        dh_testdir
        dh_testroot
        rm -f build-arch-stamp build-indep-stamp configure-stamp
-       # Add here commands to clean up after the build process.
        -$(MAKE) clean
        find . -type f -and -name \*~ -or -name .\*~ -exec rm -f {} \;
        dh_clean
@@ -108,7 +99,6 @@ install: build
        dh_clean -k
        dh_installdirs
 
-       # Add here commands to install the package into debian/uffi.
        dh_installdirs --all  $(clc-systems) $(clc-source)
        dh_installdirs -p $(pkg) $(lispdir-sql)
        dh_installdirs -p $(pkg-uffi) $(lispdir-uffi) $(sodir-uffi)
@@ -189,8 +179,6 @@ install: build
        done
 
 
-# Build architecture-independent files here.
-# Pass -i to all debhelper commands in this target to reduce clutter.
 binary-indep: build install
        dh_testdir -i
        dh_testroot -i
@@ -211,7 +199,7 @@ binary-indep: build install
        dh_link -i
        dh_compress -i
        dh_fixperms -i
-       dh_makeshlibs -i
+#      dh_makeshlibs -i
        dh_installdeb -i
 #      dh_perl -i
        dh_gencontrol -i