Commit Graph

178 Commits (1a06299d246bced962f159140b04d6a5c15e32bf)

Author SHA1 Message Date
Nicolas Pouillard 5da04f8b51 ocamlbuild: Kill $Id$'s
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9173 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-03-03 16:54:58 +00:00
Nicolas Pouillard 384f04cb53 ocamlbuild: less 'open Format' and less 'Pervasives.'
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9171 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-03-03 16:23:12 +00:00
Pierre Weis a548eb3a13 Understanding the notion of standard channel for Format and Scanf.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9166 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-01-25 22:46:15 +00:00
Damien Doligez 1f95b17570 merge changes from 3.10.2merged to 3.11.0
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9153 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-12-03 18:09:09 +00:00
Nicolas Pouillard 901e3bfa82 ocamlbuild: close the log file when cleanning and lauching the plugin.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9118 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-11-06 15:40:39 +00:00
Nicolas Pouillard 3d52165d28 ocamlbuild: Add a 'annot' tag for the -annot option.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9096 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-22 11:23:57 +00:00
Damien Doligez 2b0441401a merge changes between 3.10.2 and the end of branch 3.10
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9079 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-08 13:09:39 +00:00
Nicolas Pouillard 1ede9c14d9 ocamlbuild: Progress on PR#4575 handle '\r' in chomp.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9044 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-01 08:36:26 +00:00
Nicolas Pouillard 5b3cdba5df ocamlbuild: dynlink is now supported in native too.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8980 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-05 13:06:56 +00:00
Nicolas Pouillard f6bd5658e2 ocamlbuild: fix a double "close" problem (PR#4380)
Thanks to mwipliez for spotting this double close, to jld for providing a
patch.



Author: Nicolas Pouillard <nicolas.pouillard@gmail.com>
Committer: Nicolas Pouillard <ertai@port-ext16.ensta.fr>


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8960 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-31 07:36:12 +00:00
Nicolas Pouillard 5feab1f8ee ocamlbuild: add a ".ml->.pp.ml" rule, and export a camlp4 rule generator function.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8952 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-25 15:06:47 +00:00
Nicolas Pouillard 22119e7a0f ocamlbuild: disable a test for a now.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8951 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-25 15:02:45 +00:00
Nicolas Pouillard d9b00529cd ocamlbuild: extend test2.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8950 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-25 14:54:15 +00:00
Nicolas Pouillard 85d6ab9349 ocamlbuild: add test11.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8949 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-25 14:53:21 +00:00
Nicolas Pouillard 4399ca7c12 ocamlbuild: Add a Rule.Failed exception to allow user triggerd backtracking.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8948 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-25 14:50:47 +00:00
Nicolas Pouillard 4f5861e7fe ocamlbuild: display the OCaml version (fix PR#4530).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8947 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-25 14:49:03 +00:00
Nicolas Pouillard 79d2c3d441 ocamlbuild: export run_and_read.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8946 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-25 14:42:28 +00:00
Nicolas Pouillard a20b3b9dae ocamlbuild: Tags, add use_camlp4_bin and support -custom on libraries.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8945 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-25 14:40:49 +00:00
Nicolas Pouillard ab5f085dbc ocamlbuild: be more consitent on warnings over ocamlbuild sources.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8944 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-25 14:38:31 +00:00
Nicolas Pouillard dd4062efda ocamlbuild: Fix the -ocamlmktop flag to really setup ocamlmktop.
Thanks to Matthieu Dubuget for spotting this out.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8943 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-25 14:30:13 +00:00
Nicolas Pouillard 44f661bc3a ocamlbuild, bugfix: Take the union of all tags and not the last set.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8942 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-25 14:28:56 +00:00
Nicolas Pouillard c11360e33c ocamlbuild,presentation: better title.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8941 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-25 14:28:15 +00:00
Nicolas Pouillard 61675deee1 ocamlbuild,presentation: improve a sentence, hide a bad example.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8940 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-25 14:27:50 +00:00
Nicolas Pouillard b20a476c2f ocamlbuild,presentation: short version
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8939 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-25 14:27:31 +00:00
Nicolas Pouillard f30c6b3372 ocamlbuild: Swap some menhir rules to prefer .mlypack over .mly.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8938 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-25 14:27:10 +00:00
Nicolas Pouillard cc98973042 ocamlbuild: Give tags to the ocamlc given to menhir.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8937 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-25 14:26:36 +00:00
Nicolas Pouillard 9e122e5bfe ocamlbuild: Add flag_and_dep and ocaml_lib now also yields deps on the library.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8936 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-25 14:26:13 +00:00
Nicolas Pouillard 19331378e1 ocamlbuild: Move some tags related functions form Rule to Command.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8935 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-25 14:25:20 +00:00
Nicolas Pouillard b78c7f0cc9 ocamlbuild: Allow '\' to escape a new line in _tags.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8934 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-25 14:24:29 +00:00
Nicolas Pouillard 21e8e9a210 ocamlbuild,doc: Update the list of modules.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8933 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-25 14:23:20 +00:00
Damien Doligez 9ea5edac9a merge changes 3.10.0 -> 3.10.1
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8768 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-01-11 16:13:18 +00:00
Nicolas Pouillard abd0efef67 ocamlbuild: digest any resource.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8723 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-12-18 09:03:39 +00:00
Nicolas Pouillard 653f2273b8 ocamlbuild: normalize pathname and authorize absolute pathnames as dependencies.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8717 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-12-18 08:58:32 +00:00
Nicolas Pouillard c0b37df251 ocamlbuild: extract exists_in_source_dir from import_in_build_dir.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8716 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-12-18 08:57:36 +00:00
Nicolas Pouillard 7779f740c4 [ocamlbuild] Add Pathname.normalize
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8715 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-12-18 08:57:05 +00:00
Nicolas Pouillard 37713379d1 [ocamlbuild] Fix filename_concat to avoid consecutive slashes.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8714 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-12-18 08:56:28 +00:00
Nicolas Pouillard e94095e6b0 ocamlbuild,minor,improvement: Digest commands in such a way that one don't make too big strings.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8713 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-12-18 08:55:48 +00:00
Nicolas Pouillard 515851721f [ocamlbuild] Add statistics about parallelism.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8712 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-12-18 08:55:04 +00:00
Nicolas Pouillard 1f943bd9ed [ocamlbuild] copy_rule now creates destinations directories if neccessary.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8680 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-28 17:22:53 +00:00
Nicolas Pouillard df52eaf66b [ocamlbuild] Skip empty shell commands in Ocamlbuild_executor.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8679 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-28 17:21:59 +00:00
Nicolas Pouillard f7a3758488 [ocamlbuild] Add the |> operator for reverse application.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8678 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-28 17:20:39 +00:00
Nicolas Pouillard cd7ce252c6 [ocamlbuild] Kill file_rule, please use rule + Echo instead.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8677 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-28 17:19:24 +00:00
Nicolas Pouillard b1b5eec9bc [ocamlbuild] No longer use file_rule but rule + Echo.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8673 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-28 16:19:35 +00:00
Nicolas Pouillard d6abf3177c [ocamlbuild] Add the Echo command primitive.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8672 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-28 16:18:49 +00:00
Nicolas Pouillard 9e216739ee [ocamlbuild] Simplify a little the execute_many protocol and then cleanup Command.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8671 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-28 16:11:46 +00:00
Nicolas Pouillard 187653767a [ocamlbuild] Fix the start.sh script.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8670 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-28 16:10:49 +00:00
Nicolas Pouillard c32b7dbb0e [ocamlbuild] ocamlbuild is no longer recursive by default.
You can still have a fine grained control using your _tags
file and the "traverse" tag.
There is no longer the "true: traverse" tag declaration by default.
To make ocamlbuild recursive use one of these:
  1) Give the -r flag to ocamlbuild.
  2) Have a _tags or myocamlbuild.ml file in your top directory.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8669 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-28 16:10:13 +00:00
Nicolas Pouillard 3a4356befd [ocamlbuild] Move some functions from Pathname to Resource and use Digest_cache.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8668 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-28 16:08:18 +00:00
Nicolas Pouillard 114db8aaea [ocamlbuild] More documentation (in particular all the PLUGIN sig is doc).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8667 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-28 16:06:58 +00:00
Nicolas Pouillard 68072dfe87 [ocamlbuild] Implement default tags in a simpler way.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8666 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-28 16:06:13 +00:00
Nicolas Pouillard f835cca505 [ocamlbuild] Move tag_any and tag_file to Configuration but still export them in Ocamlbuild_plugin.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8665 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-28 16:03:48 +00:00
Nicolas Pouillard ae46dfee1c [ocamlbuild] Add the Digest_cache module.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8663 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-28 16:02:14 +00:00
Nicolas Pouillard de914acf4b [ocamlbuild] Update the expected test output.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8662 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-28 15:52:01 +00:00
Nicolas Pouillard 3d1f738e14 [ocamlbuild] Fix a backtracking bug in my stupid matcher.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8628 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-26 13:29:54 +00:00
Nicolas Pouillard 51c984596e [ocamlbuild] Non command lines should start with # in the log file.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8627 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-26 13:28:55 +00:00
Nicolas Pouillard c5164d4dca [ocamlbuild] Fix a lexing bug about comments at end of file.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8626 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-26 13:28:18 +00:00
Nicolas Pouillard a4fbbfc2f4 [ocamlbuild] Add support for camlp4oof.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8625 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-26 13:27:39 +00:00
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
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 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 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
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 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 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
Nicolas Pouillard 3f755dc652 [ocamlbuild] [FIXED] No longer use read_file in ppcache.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8571 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 20:56:00 +00:00
Nicolas Pouillard 76c289ce88 [ocamlbuild] [FIXED] Use String.max_string_length instead of a wrong constant.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8570 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 20:54:45 +00:00
Nicolas Pouillard 1526de337e [ocamlbuild] [FIXED] Globbing wildcard '?' cannot match slash (update doc too)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8568 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 20:48:37 +00:00
Nicolas Pouillard 3107465c71 Modular menhir support for ocamlbuild (by Benoit Montagu <benoit.montagu@inria.fr>)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8567 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 20:46:46 +00:00