From: Kevin M. Rosenberg Date: Mon, 13 May 2002 21:50:52 +0000 (+0000) Subject: r2032: Debian build X-Git-Tag: v3.8.6~1078 X-Git-Url: http://git.kpe.io/?p=clsql.git;a=commitdiff_plain;h=0ba06f88c7b2e70c3fe8007b9aa9d7bbfef9afcd r2032: Debian build --- diff --git a/clsql-mysql.system b/clsql-mysql.system index 44fe0ef..2a3f9f3 100644 --- a/clsql-mysql.system +++ b/clsql-mysql.system @@ -7,7 +7,7 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Feb 2002 ;;;; -;;;; $Id: clsql-mysql.system,v 1.7 2002/05/13 20:33:56 kevin Exp $ +;;;; $Id: clsql-mysql.system,v 1.8 2002/05/13 21:50:52 kevin Exp $ ;;;; ;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -18,11 +18,11 @@ (declaim (optimize (debug 3) (speed 3) (safety 1) (compilation-speed 0))) -(in-package :make) +(in-package :clsql-sys) ;;; System definition -(defsystem :clsql-mysql +(mk:defsystem :clsql-mysql :source-pathname "CL-LIBRARY:clsql;interfaces;mysql;" :source-extension "cl" :binary-pathname "CL-LIBRARY:clsql;interfaces;mysql;bin;" @@ -31,15 +31,12 @@ (:file "mysql-api" :depends-on ("mysql-loader")) (:file "mysql-sql" :depends-on ("mysql-api")) (:file "mysql-usql" :depends-on ("mysql-sql"))) - :depends-on (:uffi :clsql-base :clsql-uffi)) - -#| + :depends-on (:uffi :clsql-base :clsql-uffi) :finally-do (when (clsql-sys:database-type-library-loaded :mysql) (clsql-sys:initialize-database-type :database-type :mysql) (setq clsql:*default-database-type* :mysql) (pushnew :mysql cl:*features*))) -|# diff --git a/interfaces/clsql-uffi/clsql-uffi-loader.cl b/interfaces/clsql-uffi/clsql-uffi-loader.cl index ea886ef..a5ad4b7 100644 --- a/interfaces/clsql-uffi/clsql-uffi-loader.cl +++ b/interfaces/clsql-uffi/clsql-uffi-loader.cl @@ -7,7 +7,7 @@ ;;;; Programmers: Kevin M. Rosenberg ;;;; Date Started: Mar 2002 ;;;; -;;;; $Id: clsql-uffi-loader.cl,v 1.1 2002/03/27 08:09:25 kevin Exp $ +;;;; $Id: clsql-uffi-loader.cl,v 1.2 2002/05/13 21:50:52 kevin Exp $ ;;;; ;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -21,8 +21,8 @@ (defvar *clsql-uffi-library-filename* (translate-logical-pathname - #+(or linux unix) "CLSQL:interfaces;clsql-uffi;clsql-uffi.so" - #+(or mswindows win32) "CLSQL:interfaces;clsql-uffi;clsql-uffi.dll" + #+(or linux unix) "CL-LIBRARY:clsql;interfaces;clsql-uffi;clsql-uffi.so" + #+(or mswindows win32) "CL-LIBRARY:clsql;interfaces;clsql-uffi;clsql-uffi.dll" )) (defvar *clsql-uffi-supporting-libraries* '("c") diff --git a/interfaces/mysql/mysql-loader.cl b/interfaces/mysql/mysql-loader.cl index 0ff1ad2..65e06a1 100644 --- a/interfaces/mysql/mysql-loader.cl +++ b/interfaces/mysql/mysql-loader.cl @@ -7,7 +7,7 @@ ;;;; Programmers: Kevin M. Rosenberg ;;;; Date Started: Feb 2002 ;;;; -;;;; $Id: mysql-loader.cl,v 1.6 2002/04/23 18:28:02 kevin Exp $ +;;;; $Id: mysql-loader.cl,v 1.7 2002/05/13 21:50:52 kevin Exp $ ;;;; ;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -27,8 +27,8 @@ (defvar *clsql-mysql-library-filename* (translate-logical-pathname - #+(or linux unix) "CLSQL:interfaces;mysql;clsql-mysql.so" - #+(or mswindows win32) "CLSQL:interfaces;mysql;clsql-mysql.dll" + #+(or linux unix) "CL-LIBRARY:clsql;interfaces;mysql;clsql-mysql.so" + #+(or mswindows win32) "CL-LIBRARY:clsql;interfaces;mysql;clsql-mysql.dll" )) (defvar *mysql-library-filename* diff --git a/make-debian.sh b/make-debian.sh index dbe537f..6fcdb6e 100755 --- a/make-debian.sh +++ b/make-debian.sh @@ -8,7 +8,6 @@ PACKAGE_DIR=/usr/local/src/Packages/${DEBPKG} export CVSROOT=`cat CVS/Root` echo "Building Debian files" -cvs com -m 'debian build' cvs-buildpackage -rfakeroot -kkevin@rosenberg.net -H${TOPDIR}/cvsbp-prepare.sh -i.pdf -F -d ${DEBPKG} $* rm -rf ${PACKAGE_DIR}/${DEBPKG}-${DEBVERSION} diff --git a/make-upstream.sh b/make-upstream.sh index c02895c..568fe2a 100755 --- a/make-upstream.sh +++ b/make-upstream.sh @@ -12,6 +12,7 @@ usage () { Usage: $progname [options] Creates upstream archives Options: + -c Commit and tag CVS tree with current version numbers -t Tag CVS tree with current version numbers -h Print this brief help EOF @@ -22,6 +23,7 @@ while [ $# != 0 ]; do value="`echo x\"$1\" | sed -e 's/^x-.//'`" case "$1" in -h) usage; exit 0 ;; + -c) opt_commit=1; opt_tag=1 ;; -t) opt_tag=1 ;; *) usage; exit 0 ;; esac @@ -38,6 +40,10 @@ PACKAGE_DIR=/usr/local/src/Packages/${DEBPKG} DISTDIR=${PKG}-${VERSION} DEBDIR=${DEBPKG}-${VERSION} +if [ ! -z ${opt_commit} ]; then + cvs commit -m 'Debian build' +fi + if [ ! -z ${opt_tag} ]; then UPSTREAM_TAG=upstream_version_`echo ${VERSION} | tr . _` echo "(Re-)tagging with Upstream tag '${UPSTREAM_TAG}'"