:static-file trivial feature request

Kilian Sprotte <[email protected]> Fri, 20 Jul 2007 16:09:18 +0000 (UTC)
Newsgroups gmane.lisp.cclan.general
Message-ID <[email protected]>
Hi,

after trying to understand a bit the :do-first thing,
I am now concerned with a triviality,
but it woud be nice, if that could be fixed. 

Sometimes, I write quick defsystems like this one:
(and I wouldn't bother to optimize them with
asdf-dependency-grovel, although I love that)

(defsystem :segmentation-builder
  :version "0.1"
  :serial t
  :components
  ((:static-file "segmentation-builder.asd")
   (:static-file "README")
   (:file "packages")
...

Okay, so here we see ":serial t" + ":static-files"...

Every time you start up your lisp, this will recompile the system. :(

This is, because compile-op of those static-files is never operation-done-p.

Could

(defmethod asdf:operation-done-p ((op asdf:compile-op) (c asdf:static-file)) t)

or

(defmethod asdf:input-files ((op asdf:compile-op) (c asdf:static-file)) nil)
(maybe better, I think)

be added to asdf?

Thanks,
best,
  Kilian




-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/