caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Olivier Andrieu <andrieu@ijm.jussieu.fr>
To: Rakotomandimby Mihamina <rktmb.list@wanadoo.fr>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] who are the developpers ?
Date: Fri, 26 Mar 2004 10:39:18 +0100	[thread overview]
Message-ID: <16483.64070.145572.497472@akasha.ijm.jussieu.fr> (raw)
In-Reply-To: <4063D900.4020308@wanadoo.fr>

 Rakotomandimby Mihamina [Friday 26 March 2004] :
 >
 > Hello ,
 > I'm a slackware user and I try to build a package for Slackware .
 > I saw the Makefile has not an easy structure for that .
 > - I can build with the prefix=/usr
 > - If i install with prefix=/package/location/usr , I saw that 
 > /etc/ld.so.conf is appended with /package/location/usr/lib/ocaml , that 
 > is quite "emmerding", because we want it to be appended with 
 > /usr/lib/ocaml ...
 > 
 > So , the needed thing is to create a DESTDIR Makefile variable ( at 
 > least ) and replace all the $BINDIR , $LIBDIR , $MANDIR , ... in the 
 > subdirectories Makefile install targets  by $DESTDIR/bin 
 > $DESTDIR/caml/lib ...
 > 
 > The most hard part is to know how much Makefile i have to edit , and to 
 > edit them well .

There's no need to edit the Makefile:

  make install PREFIX=$DESTDIR/usr

and then a sed script :

  sed -i -e "s|$DESTDIR||" $DESTDIR/usr/lib/ocaml/ld.conf

That's all ...

-- 
   Olivier

-------------------
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


      parent reply	other threads:[~2004-03-26  9:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-26  7:17 Rakotomandimby Mihamina
2004-03-26  7:33 ` Remi Vanicat
2004-03-26  9:39 ` Olivier Andrieu [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=16483.64070.145572.497472@akasha.ijm.jussieu.fr \
    --to=andrieu@ijm.jussieu.fr \
    --cc=caml-list@inria.fr \
    --cc=rktmb.list@wanadoo.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).