English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] Alternative proposal: COAN
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-03-01 (18:06)
From: Michal Moskal <malekith@p...>
Subject: Re: [Caml-list] Alternative proposal: COAN
On Fri, Feb 28, 2003 at 03:05:33PM +0100, Jean-Christophe Filliatre wrote:
>  > I know i am repeating myself, but please consider adding the following
>  > points also :
> Sorry, I forgot to comment on these points :
>  >   o support the DESTDIR prefix to your install directory. distribution
>  >     need to install into different directories than the ones the
>  >     package will unpack into.
> A  ./configure script  accepts a  --prefix option,  or  more precisely
> --libdir, --bindir,  etc, setting some  variables at the  beginning of
> the generated Makefile. Additionally,  it sets other variables such as
> OCAMLLIB for  the ocaml standard  library place, etc.  Overiding these
> variables when  compiling is possible  (make OCAMLLIB=... LIBDIR=...),
> and thus using DESTDIR does not need changing the Makefile at all.

DESTDIR affects *only* where you install files. --prefix and such often
affect paths compiled into the binaries. Overriding makefile variables
often work, but sometimes it does not (for example when configuration
files containing paths are created upon make install). This is why
DESTDIR support is encouraged.

It's needed to build debs and rpms, and is hard to write, so by putting
it in your package you enlarge chances to get new users, when someone
packages it :-)

: Michal Moskal ::::: malekith/at/pld-linux.org :  GCS {C,UL}++++$ a? !tv
: PLD Linux ::::::: Wroclaw University, CS Dept :  {E-,w}-- {b++,e}>+++ h

To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners