coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Pierre Courtieu <Pierre.Courtieu AT cnam.fr>
- To: Adam Chlipala <adam AT chlipala.net>
- Cc: Hendrik Tews <tews AT os.inf.tu-dresden.de>, coq-club AT inria.fr
- Subject: Re: [Coq-Club] How to work with multiple files?
- Date: Thu, 2 Dec 2010 17:42:56 +0100
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; b=NTV/EQrBDCUJmyNjGuWlwm3CwNprRSB5QFFqT9kEbUxRqQpES3/keaBYkWHyFhYR+S Mcq78kDQpBScN+LYrhNgXqdhuD3yK6LK+fYdjFrPFNs1YuqmuuXDWR6aWVNibnnX75Px Qr4VWrnkrs14GU5LH+l/cCymi6L6UTMKt0DF0=
Here is an experimental patch to apply to tools/coqdep_common.ml in
order to add a pseudo target foo.pseudo having the same dependencies
thant foo.v (but foo.v itself).
This way one can "make foo.pseudo" to compile only dependencies of
foo.vo (provided you use codep like coq_makefile does).
If people find this useful wa may add this in trunk.
Regards,
Pierre Courtieu
--- tools/coqdep_common.ml (revision 13655)
+++ tools/coqdep_common.ml (working copy)
@@ -388,7 +388,11 @@
let glob = if !option_noglob then "" else " "^ename^".glob" in
printf "%s%s%s: %s.v" ename !suffixe glob ename;
traite_fichier_Coq true (name ^ ".v");
+ (* Adding a pseudo target with only dependencies. Useful when
updating required files. *)
printf "\n";
+ printf "%s%s: " ename ".pseudo";
+ traite_fichier_Coq true (name ^ ".v");
+ printf "\n";
flush stdout)
(List.rev !vAccu)
- [Coq-Club] How to work with multiple files?, Hendrik Tews
- Re: [Coq-Club] How to work with multiple files?,
Pierre Courtieu
- Re: [Coq-Club] How to work with multiple files?,
Hendrik Tews
- Re: [Coq-Club] How to work with multiple files?,
Adam Chlipala
- Re: [Coq-Club] How to work with multiple files?,
Pierre Courtieu
- Re: [Coq-Club] How to work with multiple files?, Pierre Courtieu
- Re: [Coq-Club] How to work with multiple files?, Hendrik Tews
- Re: [Coq-Club] How to work with multiple files?,
Pierre Courtieu
- Re: [Coq-Club] How to work with multiple files?,
Adam Chlipala
- Re: [Coq-Club] How to work with multiple files?,
Hendrik Tews
- Re: [Coq-Club] How to work with multiple files?,
Pierre Courtieu
Archive powered by MhonArc 2.6.16.