X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/clg/blobdiff_plain/9a25addd456ffad4b4354302c715a1207d9e3238..HEAD:/tools/clg-tools.asd diff --git a/tools/clg-tools.asd b/tools/clg-tools.asd index fac09a5..cf6fb2e 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 (#+sbcl sb-posix) + :components ((:file "utils") + (:file "config" :depends-on ("utils")) + (:file "asdf-extensions" :depends-on ("utils" "config")) + (: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)))))