X-Git-Url: https://git.distorted.org.uk/~mdw/clg/blobdiff_plain/46da7a2f6a55fdecab683d4bc502d871b0d1bf14..953030a3519ecb9d66d9f55d46f8c8b6906094ed:/tools/clg-tools.asd diff --git a/tools/clg-tools.asd b/tools/clg-tools.asd index c019843..21c2e0c 100644 --- a/tools/clg-tools.asd +++ b/tools/clg-tools.asd @@ -6,10 +6,20 @@ (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 - :components ((:file "autoexport") - (:file "utils") - (:file "config" :depends-on ("utils")) - (:file "asdf-extensions" :depends-on ("utils")))) + :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 +(setf + (logical-pathname-translations "clg") + `(("**;*.*.*" ,(make-pathname :directory (append (butlast (pathname-directory (asdf:component-pathname (asdf:find-system :clg-tools)))) (list :wild-inferiors))))))