chiark / gitweb /
Fix for CLISP
[clg] / tools / clg-tools.asd
CommitLineData
71931357 1;;; -*- Mode: lisp -*-
2
3(defpackage #:clg-tools
73dc6242 4 (:use #:common-lisp #:asdf))
71931357 5
6
7(in-package #:clg-tools)
8
818f2430 9#+clisp
e4aed966 10(unless custom:*parse-namestring-ansi*
11 (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"))
71931357 12
13(defsystem clg-tools
6ad73e89 14 :depends-on (#+sbcl sb-posix)
bd779163 15 :components ((:file "utils")
6ad73e89 16 (:file "config" :depends-on ("utils"))
bd779163 17 (:file "asdf-extensions" :depends-on ("utils"))
18 (:file "autoexport" :depends-on ("asdf-extensions"))))
2e26d08e 19
20
21
22;; For backward compatibility
97df3f6b 23(let ((dir (asdf:component-pathname (asdf:find-system :clg-tools))))
24 (setf (logical-pathname-translations "clg")
ee1186e9 25 `(("**;*.*.*" ,(make-pathname :directory (append (butlast (pathname-directory dir)) (list :wild-inferiors)) #+win32 :defaults #+win32 dir)))))