From: John Gerard Malecki <johnm@artisan.com>
To: Jacques Garrigue <garrigue@kurims.kyoto-u.ac.jp>
Cc: patrick@watson.org, caml-list@inria.fr
Subject: Re: [Caml-list] ocamlmktop and includes
Date: Mon, 30 Apr 2001 20:39:40 -0700 [thread overview]
Message-ID: <15086.12284.93943.757718@ish.artisan.com> (raw)
In-Reply-To: <20010501100537N.garrigue@kurims.kyoto-u.ac.jp>
Jacques Garrigue wrote (2001-05-01T10:05:37+0900):
> To get all crcs in one directory:
> extract_crc `\ls *.cmi | sed "s/.cmi//" | capitalize`
Capitalize not posix and hence available on some but not all machines.
The ocaml team recognized this and allows uncased module names as in
> extract_crc `\ls *.cmi | sed "s/.cmi//"`
Within a makefile the following works for me:
extract_crc := $(shell ocamlc -where)/extract_crc
crcs.ml: $(INTF)
$(extract_crc) $< > \#$@
mv \#$@ $@
where INTF may be something like
INTF := $(patsubst %.mli,%.cmi,$(wildcard *.mli))
-cheers
-------------------
To unsubscribe, mail caml-list-request@inria.fr. Archives: http://caml.inria.fr
next prev parent reply other threads:[~2001-05-01 3:39 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-28 14:54 Patrick M Doane
2001-05-01 1:05 ` Jacques Garrigue
2001-05-01 3:39 ` John Gerard Malecki [this message]
[not found] <Pine.BSF.3.96.1010428104723.97098B-100000@fledge.watson.or g>
2001-04-28 21:50 ` Chris Hecker
2001-04-28 22:26 ` Patrick M Doane
2001-04-29 5:46 ` Chris Hecker
2001-04-29 16:44 ` Patrick M Doane
2001-05-01 1:27 David Gurr
2001-05-01 2:57 ` Patrick M Doane
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=15086.12284.93943.757718@ish.artisan.com \
--to=johnm@artisan.com \
--cc=caml-list@inria.fr \
--cc=garrigue@kurims.kyoto-u.ac.jp \
--cc=patrick@watson.org \
/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