;;;; Programmer: Kevin M. Rosenberg\r
;;;; Date Started: Feb 2002\r
;;;;\r
-;;;; $Id: clsql-mysql.system,v 1.7 2002/05/13 20:33:56 kevin Exp $\r
+;;;; $Id: clsql-mysql.system,v 1.8 2002/05/13 21:50:52 kevin Exp $\r
;;;;\r
;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg\r
;;;;\r
\r
(declaim (optimize (debug 3) (speed 3) (safety 1) (compilation-speed 0)))\r
\r
-(in-package :make)\r
+(in-package :clsql-sys)\r
\r
;;; System definition\r
\r
-(defsystem :clsql-mysql\r
+(mk:defsystem :clsql-mysql\r
:source-pathname "CL-LIBRARY:clsql;interfaces;mysql;"\r
:source-extension "cl"\r
:binary-pathname "CL-LIBRARY:clsql;interfaces;mysql;bin;"\r
(:file "mysql-api" :depends-on ("mysql-loader"))\r
(:file "mysql-sql" :depends-on ("mysql-api"))\r
(:file "mysql-usql" :depends-on ("mysql-sql")))\r
- :depends-on (:uffi :clsql-base :clsql-uffi))\r
-\r
-#|\r
+ :depends-on (:uffi :clsql-base :clsql-uffi)\r
:finally-do\r
(when (clsql-sys:database-type-library-loaded :mysql)\r
(clsql-sys:initialize-database-type :database-type :mysql)\r
(setq clsql:*default-database-type* :mysql)\r
(pushnew :mysql cl:*features*)))\r
-|#\r
\r
\r
\r
;;;; 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
;;;;
(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")
;;;; 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
;;;;
(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*
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}
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
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
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}'"