From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id KAA13653; Fri, 26 Mar 2004 10:39:26 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id KAA14457 for ; Fri, 26 Mar 2004 10:39:24 +0100 (MET) Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129]) by concorde.inria.fr (8.12.10/8.12.10) with ESMTP id i2Q9dNHd020824 for ; Fri, 26 Mar 2004 10:39:23 +0100 Received: from akasha.ijm.jussieu.fr (akasha.ijm.jussieu.fr [134.157.173.57]) by shiva.jussieu.fr (8.12.10/jtpda-5.4) with ESMTP id i2Q9dNRb066180 ; Fri, 26 Mar 2004 10:39:23 +0100 (CET) X-Ids: 168 Received: by akasha.ijm.jussieu.fr (Postfix, from userid 11004) id 6279C3BDC3; Fri, 26 Mar 2004 10:39:18 +0100 (CET) From: Olivier Andrieu MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16483.64070.145572.497472@akasha.ijm.jussieu.fr> Date: Fri, 26 Mar 2004 10:39:18 +0100 To: Rakotomandimby Mihamina Cc: caml-list@inria.fr Subject: Re: [Caml-list] who are the developpers ? In-Reply-To: <4063D900.4020308@wanadoo.fr> References: <4063D900.4020308@wanadoo.fr> X-Mailer: VM 7.17 under Emacs 21.3.1 X-Miltered: at concorde by Joe's j-chkmail ("http://j-chkmail.ensmp.fr")! X-Miltered: at shiva.jussieu.fr with ID 4063FA4B.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Antivirus: scanned by sophie at shiva.jussieu.fr X-Loop: caml-list@inria.fr X-Spam: no; 0.00; andrieu:01 andrieu:01 caml-list:01 developpers:01 2004:99 usr:01 usr:01 destdir:01 bindir:01 libdir:01 destdir:01 bin:01 ocaml:01 ocaml:01 caml:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk X-Status: X-Keywords: X-UID: 368 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