Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Rakotomandimby Mihamina <mrakotom@free.fr>
To: caml-list@inria.fr
Subject: [Caml-list] The Makefile
Date: Mon, 1 Mar 2004 15:24:15 +0100	[thread overview]
Message-ID: <200403011524.15356.mrakotom@free.fr> (raw)

Salut tout le monde ,
Je suis Etudiant a l'Université d'Orléans
et j'utilise Linux Slackware .

J'ai plus ou moins parcouru le Makefile a la racine des sources de Ocaml 
3.07pl2 dans le but de faire un package ocaml pour la slackware .

Pour faire un package il me faudrai trouver le moyen de faire tout comme si 
l'intallation devra se faire dans "/usr" et a l'installation ( copie des 
fichiers ) modifier ce parametre en le remplaçant 
par /tmp/ocaml-package/usr,  /tmp/ocaml-package/ qui contiendra le package .

Mon souci est que la cible install du Makefile ne permet pas vraiemnt en tant 
que telle de faire cette manipulation. Du moins je ne vois pas, a mon niveau 
de connaissance comment faire. J'avoue etre un tres simple étudiant de 2 eme 
Année en MIAS .
Ma proposition serai d'utiliser la variable PREFIX pour les copies vers les 
repertoires cibles cela permettrai ainsi de faire le moins de manipulation.

J'ignore si le Makefile est généré automatiquement et si personne n'intervient 
plus dessus apres.
Voici l'ancienne cible install :
http://stko.dyndns.info/scripts/caml0
Voici le Makefile que je propose ( modification que j'ai fait manuellement ) :
http://stko.dyndns.info/scripts/caml1

ainsi , je fais ceci pour faire le package slackware :
./configure -prefix /usr
make world
make bootstrap
make opt 
make opt.opt
make PREFIX= /tmp/ocaml-package/usr install

et ensuite je constitue mon package en me plaçant 
dans  /tmp/ocaml-package/usr .

Qu'est ce que vous en pensez ? je pense que cela facilite la fourniture de 
package , meme RPM et deb parceque a mon avis le fait de pouvoir specifier un 
repertoire de destination specifique aide beaucoup .

Si vous souhaitez que je fasse les modification dans la documentation aussi , 
je le ferai volontiers mais il faudrai avant que je sache si vous validez ma 
proposition ...
Merci d'avance .

-- 
Rakotomandimby Mihamina Andrianifaharana
Tel : +33 2 38 76 43 65
http://stko.dyndns.info/site_principal/Members/mihamina

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


             reply	other threads:[~2004-03-01 14:25 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-01 14:24 Rakotomandimby Mihamina [this message]
2004-03-01 16:04 ` Remi Vanicat
2004-03-01 16:41   ` Rakotomandimby Mihamina
2004-03-02  1:00   ` [Caml-list] use of abstract type "inet_addr" Vasili Galchin
2004-03-02 10:00     ` Olivier Pérès
2004-03-02 15:38       ` Christophe TROESTLER
2004-03-04  2:48         ` SooHyoung Oh
2004-03-04 15:53           ` Henri DF
2004-03-05  3:25             ` [Caml-list] Test case syntax error Vasili Galchin
2004-03-05  4:42               ` William Lovas
2004-03-05  7:39               ` Shawn Wagner
2004-03-05  8:05               ` sebastien FURIC
2004-03-05 12:44                 ` John Carr
2004-03-05 15:13                   ` Remi Vanicat
2004-03-05 18:00             ` [Caml-list] use of abstract type "inet_addr" Didier Remy
2004-03-01 16:37 ` [Caml-list] The Makefile Rakotomandimby Mihamina
2004-03-02 18:18 Paul Guyot
2004-03-08  6:43 ` Rakotomandimby Mihamina

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=200403011524.15356.mrakotom@free.fr \
    --to=mrakotom@free.fr \
    --cc=caml-list@inria.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