Commit Graph

6806 Commits (39469b78111b5a7db1bbecfc10f59b31048b33c3)

Author SHA1 Message Date
Nicolas Pouillard d0f6c03046 [ocamlbuild] Neither traverse the build dir (even if it does not starts with _) (PR#4410).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8624 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-26 13:27:03 +00:00
Nicolas Pouillard 797b75ec4a [ocamlbuild] Look at OCAMLLIB before using the hard-coded (during build) install path (PR#4379).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8623 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-26 13:24:26 +00:00
Nicolas Pouillard 7ccbe53649 [ocamlbuild manual] Talk about making libraries and toplevel (PR#4356).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8622 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-26 13:21:00 +00:00
Nicolas Pouillard fe492f4516 [ocamlbuild manual] Updating to the new location of the log file.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8620 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-26 13:06:00 +00:00
Nicolas Pouillard ef00b672ec [ocamlbuild] Forbid non implicit pathnames as include/exclude directories (PR#4304).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8619 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-26 13:04:25 +00:00
Nicolas Pouillard ca536a8458 [ocamlbuild] Update the test output. Since the shell now use more quotes.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8618 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-26 13:02:51 +00:00
Damien Doligez 16bd7d60cc add .PHONY annotations
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8617 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-23 10:54:26 +00:00
Damien Doligez 6aed4b19a5 PR#4243 partial solution
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8616 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-22 22:14:43 +00:00
Damien Doligez 16e4a68197 PR#4243 partial solution
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8615 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-22 19:01:50 +00:00
Nicolas Pouillard d0f5ecfa76 [build] Regen boot/myocamlbuild.boot.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8614 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-22 19:01:21 +00:00
Nicolas Pouillard 9966c05ede [ocamlbuild] Use the log file even if we are just making a plugin.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8613 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-22 18:58:39 +00:00
Nicolas Pouillard aeaed191ed [ocamlbuild] Don't try to remove link to build when the feature is off.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8612 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-22 18:58:20 +00:00
Nicolas Pouillard e49b8c08d8 [camlp4] Add an example about the "debug" syntax extension.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8611 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-22 18:56:01 +00:00
Nicolas Pouillard a4154feec7 [ocamlbuild] Make the log file live in the build directory (PR#4313).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8610 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-22 18:53:38 +00:00
Nicolas Pouillard a4618ecfbb [ocamlbuild] [test] Opening Ocamlbuild_pack is useless.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8609 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-22 18:51:48 +00:00
Nicolas Pouillard c938a1964d [ocamlbuild] [test] Wrap decls in a dispatch call.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8608 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-22 18:51:13 +00:00
Nicolas Pouillard 5d85b57cb1 [ocamlbuild] Reflect in rules that cmi cannot go in libraries.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8607 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-22 18:50:29 +00:00
Nicolas Pouillard b599f996d8 [ocamlbuild] whitespace cleanup (by Benoit Montagu <benoit.montagu@inria.fr>)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8606 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-22 18:49:49 +00:00
Nicolas Pouillard e96c716b68 [ocamlbuild] Export constructors names for command directly in Ocamlbuild_plugin.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8605 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-22 18:49:06 +00:00
Nicolas Pouillard fcdb3bcf7d [ocamlbuild] add flag declaration for ocamllex -ml (by Benoit Montagu <benoit.montagu@inria.fr>)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8604 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-22 18:48:22 +00:00
Nicolas Pouillard a353e7b885 [ocamlbuild] add flag declaration for menhir --explain (by Benoit Montagu <benoit.montagu@inria.fr>)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8603 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-22 18:47:07 +00:00
Nicolas Pouillard af6ff1b537 [ocamlbuild] Handle include directories in the modular menhir support.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8602 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-22 18:46:18 +00:00
Nicolas Pouillard 60858a2c2b [build sys] Install ocamlbuild executor and unix_plugin.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8601 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-22 18:45:46 +00:00
Nicolas Pouillard 78baddcc34 [ocamlbuild] Extract executor as ocamlbuild_excutor and my_unix_with_unix as ocamlbuild_unix_plugin.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8600 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-22 18:34:22 +00:00
Nicolas Pouillard 4be12009bf [ocamlbuild] Give Main.Exit_codes its own file.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8599 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-22 18:31:22 +00:00
Nicolas Pouillard ac55a416ad [ocamlbuild] sanitize.sh job is done.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8598 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-22 18:29:46 +00:00
Nicolas Pouillard 6076c90b4c [ocamlbuild] sanitize.sh is made in build dir and deleted before hygiene.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8597 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-22 18:29:32 +00:00
Damien Doligez 0fdcfd1bc2 update doc
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8596 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-22 18:06:22 +00:00
Nicolas Pouillard 4e9165382c [build sys] Add ocamlbuild stamps for some rules.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8595 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-22 16:59:21 +00:00
Nicolas Pouillard 2b906d0efa [ocamlbuild] Fix a bug in stamp (add stamp in prods list).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8594 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-22 16:55:05 +00:00
Nicolas Pouillard ed05b821de [build sys] regen boot/myocamlbuild.boot
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8593 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-22 16:50:10 +00:00
Nicolas Pouillard 115012e8d3 [build] Remove a nasty spurious conflict mark.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8591 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-22 16:01:08 +00:00
Nicolas Pouillard 4d2efe6184 [ocamlbuild] Use stamps for some ocamldoc rules.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8590 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 21:40:22 +00:00
Nicolas Pouillard 4493037397 [ocamlbuild] [TEST] Update the good-output.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8589 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 21:39:51 +00:00
Nicolas Pouillard 663fabb895 [ocamlbuild] [FIXED] In the %.itarget->%.otarget rule otarget is now a stamp file.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8588 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 21:38:38 +00:00
Nicolas Pouillard 1989f91c21 [ocamlbuild] [ADDED] Rules can now have a stamp production.
A stamp production of a rule (like in the rule .mli -> .cmi).
However this file is automatically produced by ocamlbuild and
contains a digest of its dependencies. This allow some kind of
rules that requires PHONY in `make'.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8587 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 21:34:57 +00:00
Nicolas Pouillard bc7a152e6a [ocamlbuild] Remove touch.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8586 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 21:33:49 +00:00
Nicolas Pouillard 2396e3b2c3 [build sys] Use ocamlbuild virtual rules.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8585 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 21:33:13 +00:00
Nicolas Pouillard a095c89e6e [ocamlbuild] [TEST] Remove generated file.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8584 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 21:32:43 +00:00
Nicolas Pouillard 71aba032c4 [ocamlbuild] [TEST] Add a test for virtual rules.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8583 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 21:16:47 +00:00
Nicolas Pouillard 9054fd52f1 [ocamlbuild] [FIXED] No longer pass the ocamldep tag to the preproc use pp:dep instead.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8582 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 21:07:18 +00:00
Nicolas Pouillard 54e5904df4 [ocamlbuild] Remove custom_rule.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8581 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 21:06:47 +00:00
Nicolas Pouillard 0f77a75787 [ocamlbuild] In Rule, add a proper action data type.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8580 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 21:06:21 +00:00
Nicolas Pouillard 36a6411983 [ocamlbuild] Make the rule type abstract.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8579 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 21:06:10 +00:00
Nicolas Pouillard ec99dd13c4 [ocamlbuild] [CHANGED] Merge the rules about ocaml C stubs using %(var: pattern).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8578 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 21:05:11 +00:00
Nicolas Pouillard f7cde9c445 [ocamlbuild] [TEST] Update the expected output.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8577 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 21:04:23 +00:00
Nicolas Pouillard 58473aaddd [ocamlbuild] [ADDED] Test and examples of %(var:pattern).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8576 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 21:03:52 +00:00
Nicolas Pouillard d8b82a7904 [ocamlbuild] [ADDED] Support for setting the recognized language of % in rules %(name: pattern).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8575 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 21:03:14 +00:00
Nicolas Pouillard a1e70cf818 [ocamlbuild] [CHANGED] Export the globber type definition but not the fast_pattern one of course.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8574 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 21:02:15 +00:00
Nicolas Pouillard ead23cd811 [ocamlbuild] [ADDED] My_std.String.{implode,explode}.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8573 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 21:01:42 +00:00