From: Mitch Berkson
Subject: Can non-Lisp files be dependencies in asdf or mk:defsystem?
Date: 
Message-ID: <y1P%i.96$xP4.56@newsfe18.lga>
Is there a way to tell asdf or mk:defsystem that a lisp file depends on 
a non-lisp file?  For example, when a .bmp file is modified, I'd like to 
  re-compile the files which depend on it, but nothing should be done to 
the .bmp file.

Mitch

From: Marco Antoniotti
Subject: Re: Can non-Lisp files be dependencies in asdf or mk:defsystem?
Date: 
Message-ID: <c5d991ee-4b2b-4aab-ae17-510ff22f25e5@c29g2000hsa.googlegroups.com>
On Nov 18, 5:19 am, Mitch Berkson <········@bermita.com> wrote:
> Is there a way to tell asdf or mk:defsystem that a lisp file depends on
> a non-lisp file?  For example, when a .bmp file is modified, I'd like to
>   re-compile the files which depend on it, but nothing should be done to
> the .bmp file.
>
> Mitch

It should work out of the box in MK:DEFSYSTEM.

Cheers

Marco
From: Andreas Thiele
Subject: Re: Can non-Lisp files be dependencies in asdf or mk:defsystem?
Date: 
Message-ID: <fhpujv$gd3$01$1@news.t-online.com>
"Mitch Berkson" <········@bermita.com> schrieb im Newsbeitrag ····················@newsfe18.lga...
> Is there a way to tell asdf or mk:defsystem that a lisp file depends on a non-lisp file?  For example, when a .bmp file is 
> modified, I'd like to re-compile the files which depend on it, but nothing should be done to the .bmp file.
>
> Mitch

Well, I'm not an ASDF specialist. What about the following hack:

Write a function which sets the last change date of a dummy lisp source to the date of the bmp file. Include the dummy source in 
your ASDF definition and run the function in your loading script/program before you call ASDF.

Andreas
From: Mitch Berkson
Subject: Re: Can non-Lisp files be dependencies in asdf or mk:defsystem?
Date: 
Message-ID: <kpn0j.2868$bi1.2142@newsfe15.lga>
Andreas Thiele wrote:
>> Is there a way to tell asdf or mk:defsystem that a lisp file depends on a non-lisp file?  For example, when a .bmp file is 
>> modified, I'd like to re-compile the files which depend on it, but nothing should be done to the .bmp file.
>>
>> Mitch
> 
> Well, I'm not an ASDF specialist. What about the following hack:
> 
> Write a function which sets the last change date of a dummy lisp source to the date of the bmp file. Include the dummy source in 
> your ASDF definition and run the function in your loading script/program before you call ASDF.

Thanks.  I found that using :static-file or :doc-file handles this.

Mitch
From: Andreas Thiele
Subject: Re: Can non-Lisp files be dependencies in asdf or mk:defsystem?
Date: 
Message-ID: <fhue7u$860$01$1@news.t-online.com>
> Thanks.  I found that using :static-file or :doc-file handles this.

Well, interesting, thanks.

Andreas