X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=contrib%2Fasdf-install%2Fasdf-install.asd;h=91e728232b8150115834ec8140a44f57ab31ef9f;hb=dcf5978d9d33098e868ae6eea28e1b310038c03d;hp=cdcec0a910ab02d6521a732d56fcf804c3ce5540;hpb=08e218c9bd9fdfb1e4dcc5f5e245feea17762471;p=sbcl.git diff --git a/contrib/asdf-install/asdf-install.asd b/contrib/asdf-install/asdf-install.asd index cdcec0a..91e7282 100644 --- a/contrib/asdf-install/asdf-install.asd +++ b/contrib/asdf-install/asdf-install.asd @@ -8,10 +8,9 @@ ;;; this is appalling misuse of asdf. please don't treat it as any ;;; kind of example. this shouldn't be a compile-op, or if it is, should -;;; define output-files properly instead oif leaving it be the fasl +;;; define output-files properly instead of leaving it be the fasl (defclass exe-file (cl-source-file) ()) -(defmethod perform ((o compile-op) (c exe-file)) - (call-next-method) +(defmethod perform :after ((o compile-op) (c exe-file)) (sb-executable:make-executable (make-pathname :name "asdf-install" :type nil @@ -24,9 +23,11 @@ (defsystem asdf-install :depends-on (sb-posix sb-bsd-sockets) :version "0.2" + #+sb-building-contrib :pathname + #+sb-building-contrib "SYS:CONTRIB;ASDF-INSTALL;" :components ((:file "defpackage") - (exe-file "loader") - (:file "installer"))) + (:exe-file "loader" :depends-on ("installer")) + (:file "installer" :depends-on ("defpackage")))) (defmethod perform :after ((o load-op) (c (eql (find-system :asdf-install)))) (provide 'asdf-install))