X-Git-Url: https://git.distorted.org.uk/~mdw/clg/blobdiff_plain/0adab0e960fd376370618c696489ba9f73ef2c35..b5ec56fe81e8c66ce3cb326d948a762c4b578175:/tools/clg-tools.asd diff --git a/tools/clg-tools.asd b/tools/clg-tools.asd index 1e3d01c..d7787e0 100644 --- a/tools/clg-tools.asd +++ b/tools/clg-tools.asd @@ -1,17 +1,25 @@ ;;; -*- Mode: lisp -*- (defpackage #:clg-tools - (:use #:common-lisp #:asdf) - ) + (:use #:common-lisp #:asdf)) (in-package #:clg-tools) +#+clisp +(unless custom:*parse-namestring-ansi* + (error "Standard behaviour of PARSE-NAMESTRING must be enabled by setting CUSTOM:*PARSE-NAMESTRING-ANSI* to non-NIL or running clisp with the -ansi option")) (defsystem clg-tools - :depends-on (uffi) - :components ((:file "autoexport") - (:file "config") - (:file "sharedlib") - (:file "asdf-extensions"))) + :depends-on (#+sbcl sb-posix) + :components ((:file "utils") + (:file "config" :depends-on ("utils")) + (:file "asdf-extensions" :depends-on ("utils")) + (:file "autoexport" :depends-on ("asdf-extensions")))) + + +;; For backward compatibility +(let ((dir (asdf:component-pathname (asdf:find-system :clg-tools)))) + (setf (logical-pathname-translations "clg") + `(("**;*.*.*" ,(make-pathname :directory (append (butlast (pathname-directory dir)) (list :wild-inferiors)) #+win32 :defaults #+win32 dir)))))