[climacs-devel] Making Climacs ASDF-INSTALLable

Paolo Amoroso amoroso at mclink.it
Tue Jan 3 13:43:30 UTC 2006


Aleksandar Bakic <a_bakic at yahoo.com> writes:

>>  > Also, ASDF-INSTALL requires that all .asd files be in the toplevel
>>  > directory of the source tree.  It would be necessary to move
>>  > cl-automaton/automaton.asd up one level, or add the `automaton' system
>>  > definition to climacs.asd (I can provide such changes if there is
>>  > interest).
>> 
>> I'll let Alex decide what is more appropriate.  cl-automaton is large
>> enough that it might merit its own system and cl.net project. 
>
> At the moment, to work around the problem, either of the above options is fine
> with me.

In case it's useful, I include below an automaton.asd file modified in
the hypothesis that it is kept in the toplevel directory of the
Climacs source tree.  If cl-automaton is distributed as a separate
system, its current automaton.asd can be used as is.  I have also
added a package definition for the automaton system.


Paolo

-----------------------------------------------------------------
;;; -*- mode: lisp -*-
;;; 
;;; (c) copyright 2005 by Aleksandar Bakic (a_bakic at yahoo.com)
;;; 

(defpackage #:automaton-system
  (:use #:common-lisp #:asdf))

(in-package #:automaton-system)

(defsystem #:automaton
  :depends-on ("rt")
  :pathname (merge-pathnames (make-pathname :directory '(:relative "cl-automaton"))
                             (make-pathname :directory (pathname-directory (pathname *load-truename*))))
  :components
  ((:file "automaton-package")
   (:file "eqv-hash" :depends-on ("automaton-package"))
   (:file "state-and-transition" :depends-on ("eqv-hash"))
   (:file "automaton" :depends-on ("state-and-transition" "eqv-hash"))
   (:file "regexp" :depends-on ("automaton"))))
-----------------------------------------------------------------

-- 
Lisp Propulsion Laboratory log - http://www.paoloamoroso.it/log



More information about the climacs-devel mailing list