Gabriel Scherer
3734fe0799
fix PR#5763: ocamlbuild does not give correct flags when running menhir
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12946 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-09-21 15:16:24 +00:00
Wojciech Meyer
80d9a37d6d
PR#5468: ocamlbuild should preserve order of parametric tags
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12909 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-09-10 02:41:09 +00:00
Wojciech Meyer
28701c9cfe
PR#5652: Try to use camlp4.opt if it's possible
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12902 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-09-02 01:31:06 +00:00
Damien Doligez
3dd2fee2ee
fix formatting of copyright headers
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12808 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-08-01 14:47:00 +00:00
Damien Doligez
997a678d5e
clean up TABs and whitespace
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12799 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-07-30 18:04:46 +00:00
Xavier Clerc
e17f1f82f2
PR#5214: ocamlfind plugin invokes 'cut' utility
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12713 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-07-16 08:53:51 +00:00
Xavier Clerc
1a06299d24
Follow-up for PR#5655
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12675 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-07-09 13:15:10 +00:00
Xavier Clerc
61ff6edc27
PR#5655: ocamlbuild doesn't pass cflags when building C stubs
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12670 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-07-09 10:07:26 +00:00
Xavier Leroy
c73c5caf89
PR#5616: ocamlbuild's manual is now part of the "official" OCaml reference manual, so just remove these files, it's the easier answer to the copyright-minded folks.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12479 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-05-24 16:26:07 +00:00
Jonathan Protzenko
bae01ace03
Only display the disclaimer about tags if the user specified a -show-tags switch.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12456 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-05-15 11:28:52 +00:00
Fabrice Le Fessant
fef288bd38
Fix PR#5305 : prevent ocamlbuild from complaining about links to _build/
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12452 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-05-15 08:37:48 +00:00
Jonathan Protzenko
d2e4349855
Properly add the -for-pack flag when calling ocamlopt during the pack phase and fix #5084
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12438 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-05-07 13:11:36 +00:00
Jérémie Dimino
df7cf7a550
PR#5604: fix permissions of files created by ocamlbuild itself
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12411 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-05-02 10:02:37 +00:00
Wojciech Meyer
021be804cd
PR#5599: Add warn() tag in ocamlbuild to control -w compiler switch
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12409 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-30 23:46:04 +00:00
Wojciech Meyer
952fe3d0f2
PR#5531: Allow ocamlbuild to add ocamldoc flags through -docflag and -docflags switches
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12395 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-25 01:31:26 +00:00
Jonathan Protzenko
c8729bff62
Remove obsolete hack in OCamlbuild for Windows.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12306 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-02 15:14:00 +00:00
Jonathan Protzenko
4010b7dcc6
Followup fix to PR#5435. Implement the infamous '' hack for cmd.exe running bash -c.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12305 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-02 15:13:59 +00:00
Jonathan Protzenko
417aaa4362
Better detection of .exe files on Windows, fix #5435
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12293 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-03-29 12:36:37 +00:00
Damien Doligez
6c24f4f90b
merge version 3.12 from 3.12.1 to r12205
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12210 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-03-08 19:52:03 +00:00
Damien Doligez
c204b4ae3e
PR#5503: proper fix
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12191 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-03-05 16:34:57 +00:00
Xavier Clerc
79507d54bb
PR#5503: error when ocamlbuild is passed an absolute path as build directory
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12154 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-15 09:10:52 +00:00
Damien Doligez
d4522f062c
Change "Ocaml" to "OCaml" everywhere
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12152 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-13 17:48:41 +00:00
Damien Doligez
e7f5b858c2
More renaming to OCaml
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12149 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-10 16:15:24 +00:00
Fabrice Le Fessant
869feeb007
Fix PR#5461
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12033 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-17 21:57:54 +00:00
Alain Frisch
ee31501232
#5338 : sanitize.sh has windows style end-of-lines (mingw).
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11301 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-13 11:19:35 +00:00
Xavier Clerc
5aa55e0fc8
PR#5330: thread tag with '.top' and '.inferred.mli' targets
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11169 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-08-08 09:39:10 +00:00
Damien Doligez
3b507dd1aa
renaming of Objective Caml to OCaml and cleanup of copyright headers
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11156 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-27 14:17:02 +00:00
Damien Doligez
90664f4ea1
uniform .ignore system
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11133 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-20 15:37:36 +00:00
Damien Doligez
c91db736b1
merge changes from 3.12.0 to 3.12.1
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11123 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-20 09:17:07 +00:00
Damien Doligez
575555eecd
merge changes from branching of 3.12 to release/3.12.0
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10643 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-08-02 14:37:22 +00:00
Damien Doligez
3bba52b91c
PR#4857: add -vnum option to all executables
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10444 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-20 14:06:29 +00:00
Damien Doligez
d06b348db0
specify path to the 'find' utility for ocamlbuildlight
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10434 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-19 12:53:40 +00:00
Damien Doligez
a274b01b55
removed -w A everywhere
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10286 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-20 15:38:58 +00:00
Nicolas Pouillard
4e6cb15c4f
ocamlbuild: Add support for native dynlink
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10264 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-17 16:15:42 +00:00
Nicolas Pouillard
3cf7b7152b
ocamlbuild,solver: GC some dead comment
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9616 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-02-03 13:33:19 +00:00
Nicolas Pouillard
e9a4f4bdc3
ocamlbuild,TODO: one thing done
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9615 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-02-03 13:11:21 +00:00
Nicolas Pouillard
da8e2346a0
ocamlbuild,solver: add two comments.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9614 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-02-03 13:11:20 +00:00
Nicolas Pouillard
ee0f1a1bb2
ocamlbuild: no longer open Lexers
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9613 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-02-03 13:11:20 +00:00
Nicolas Pouillard
3a2a72f0b7
ocamlbuild: Improve a lexing error message
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9612 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-02-03 13:11:20 +00:00
Nicolas Pouillard
a463a1b0a6
ocamlbuild: fix a bug about $PATH
...
Replace the colon_sep_strings lexing
function by parse_environment_path which
better account for leading or trailing
colons.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9611 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-02-03 13:11:19 +00:00
Nicolas Pouillard
8822cbb173
ocamlbuild,start: update start.sh
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9610 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-02-03 13:11:19 +00:00
Nicolas Pouillard
033e10198e
ocamlbuild: two comments
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9609 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-02-03 10:27:46 +00:00
Nicolas Pouillard
0cfe32fc75
ocamlbuild,doc: add Ocamlbuild_Myocamlbuild_config
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9608 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-02-03 10:25:51 +00:00
Xavier Clerc
b449be7a4d
Added some missing files for parameterized tags.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9558 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-25 08:16:23 +00:00
Xavier Clerc
a9c9e826e5
Error regarding original author
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9557 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-25 08:11:53 +00:00
Xavier Clerc
facbf166da
Support for findlibi, continued (N. Pouillard et al.)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9550 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-22 15:12:21 +00:00
Xavier Clerc
ae90f26025
Support for findlib (N. Pouillard et al.)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9549 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-22 14:46:27 +00:00
Xavier Clerc
bcdf4082cf
Support for parametrized tags (N. Pouillard et al.)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9548 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-22 14:36:57 +00:00
Damien Doligez
04b1656222
clean up spaces and tabs
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9547 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-22 12:48:24 +00:00
Damien Doligez
bdc0fadee2
merge changes from release/3.11.1 to release/3.11.2
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9540 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-20 16:26:46 +00:00
Damien Doligez
1b8095f404
PR#4940: get rid of naked end-of-lines in string constants + add warning 29
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9512 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-07 15:15:07 +00:00
Xavier Leroy
349467ec45
New warning `not all labels are mentioned in this record pattern'
...
moved to letter 'R' (instead of 'E' previously). Explicitly turned
off in myocamlbuild configuration.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9391 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-10-22 15:45:54 +00:00
Nicolas Pouillard
038ceed4e7
Fix ocamlbuild -where
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9276 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-05-24 09:11:39 +00:00
Damien Doligez
ed32f569e3
merge changes from ocaml3110 to ocaml3111rc0
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9270 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-05-20 11:52:42 +00:00
Nicolas Pouillard
73e85b3edf
ocamlbuild: add Ocamlbuild_Myocamlbuild_config to Ocamlbuild_pack
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9178 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-03-05 14:46:22 +00:00
Nicolas Pouillard
f897ed0c73
ocamlbuild: Use libdir and bindir from the myocamlbuild_config.ml of OCaml
...
imported as ocamlbuild_Myocamlbuild_config.ml
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9176 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-03-05 14:33:06 +00:00
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