Re: Maybe a solution for ocaml-source and cameleon
On Thu, Jan 16, 2003 at 04:03:46PM +0100, Sylvain LE GALL wrote:
> > BTW, would ocamldep not give the full list if you give it the right
> > directory argument ?
> > We have the list of directory who get -Ied, just pass them as argument
> > to ocamldep.
> Yes maybe it could do.
> > > My method :
> > > - upload cameleon-1.2
> > > - unpack
> > > - modify debian/rules
> > > after the compilation of ocaml-source, i add :
> > > touch BEFORE_CAMELEON
> > > after the compilation of cameleon :
> > > cd $(OCAMLBUILD) && find ./ -anewer BEFORE_CAMELEON -and -not
> > > -type d > $(CURDIR)/debian/cameleon-support.files
> > > - get cameleon-support.files which contains all the file accessed by
> > > ocaml ( the compiler ) when building cameleon.
> > >
> > > I think everybody knows the -anewer meaning... But i explain ( i like to
> > > exlain things ) : ocaml needs to read all the .cmo to compile it with
> > > epeire/* files. Every time a file is accessed it update the last
> > > accessed attribute of the files... So i can detect what has been used.
> > >
> > > I have only a problem : the results said that ocamllex... are used. I
> > > don't understand why ? If someone could explain it to me...
> > Will need to check.
> I have checked... Cameleon build really use
> $(CURDIR)/debian/ocaml-source/ocamllex to build. I explain : when
> building epeire, it uses ocaml, ocamlrun, ocamldep, from the self
> compiled binary... In other word, cameleon package not only build
> ocaml-source, it also use it ( use the binary ).
Mmm, maybe if he need the patched versions.
> I am not sure, that Maxence Guesdon really want this things, i should
> ask him on cameleon list, but i think he is also reading messages on
> this list...
Yes, he does.
> Do you think it is normal ?
I am not sure.
> I think it could be a problem.
It is not nice at least.
BTW, did you already start the proceding to become a debian maintainer ?