Excerpts from Romain Bardou's message of Tue Feb 12 10:47:49 +0100 2008: > Hello, Hello, > The API function "rule" for Ocamlbuild has an argument "~tags" which > seems to be used, in the file "ocaml_specific.ml" of the Ocamlbuild > source, to restrict the rule to targets using specific tags. Forget about the ~tags argument of the "rule" function, it's a deprecated feature (as the last documentation of the function say it). > However, when I tried to add a rule in my plugin, the rule is called > whatever the tags of the file may be. Yes the argument is ignored. > How can I control when a rule will be triggered using tags? I need to > restrict my rule to files that use tag "test", for instance. You can't, but perhaps is there another way to obtain the same final result. -- Nicolas Pouillard aka Ertai