Distclean [Was: [Omake] .PHONY rules in subdirs]

Jonathan Roewen jonathan.roewen at gmail.com
Mon Apr 9 15:45:26 PDT 2007


Well, I've just discovered the svn_realclean function, so I'll use
that instead :)

Jonathan

On 4/10/07, Aleksey Nogin <anogin at hrl.com> wrote:
> On 30.03.2007 13:11, Jonathan Roewen wrote:
>
> > Hmm, the only thing with that is it returns all the scanner targets as
> > well, which is kind of annoying.
> >
> > E.g. foo/bar/baz/scan-star-me-kitten.ml
> >
> > and the generatedfiles things in angled brackets...
>
> Yes, the dependencies-proper function will do that. I've added a note
> about it in the documentation. I've also added a section on other
> (probably better) alternatives for distclean -
> http://omake.metaprl.org/omake-system.html#section:distclean
>
> > Also, it's not clever enough to remove .cmi files when I have sources
> > with a .ml file but no corresponding .mli file it seems -- kind of
> > odd.
>
> Right - it is possible that nothing depends on that .cmi file (note that
> the ocamldep without "OCAMLDEP_MODULES" will usually omit such
> dependencies even when they actually exist); the file is then just a
> side-effect of the .cmx rule, but not a dependency. Therefore the file
> will be generated, but not included in the output of dependencies*
> functions.
>
> Note that the alternative methods (including the filter-proper-targets
> one) will do the right thing here.
>
> Aleksey
>
> --
> Aleksey Nogin, Research Staff Member
> Advanced Technologies Department, Information & System Sciences Lab
> HRL Laboratories, LLC, Malibu, CA
> _______________________________________________
> Omake mailing list
> Omake at metaprl.org
> https://lists.metaprl.org/mailman/listinfo/omake
>


More information about the Omake mailing list