From: julia.lawall@lip6.fr (Julia Lawall) Date: Fri, 16 Jun 2017 08:03:46 +0200 (CEST) Subject: [Cocci] Replacing suffix rules in make scripts? In-Reply-To: <75d88a53-ace7-3bea-a3b2-bbc100091e78@users.sourceforge.net> References: <020f8c95-fcaa-d47e-410b-7fb633fefa09@users.sourceforge.net> <9c2abe52-5ef9-62e0-26ab-f4fc69513257@users.sourceforge.net> <47632935-6b4f-aeec-2ced-11f5d2f8609b@users.sourceforge.net> <75d88a53-ace7-3bea-a3b2-bbc100091e78@users.sourceforge.net> Message-ID: To: cocci@systeme.lip6.fr List-Id: cocci@systeme.lip6.fr On Fri, 16 Jun 2017, SF Markus Elfring wrote: > >> I am curious on how a dependency for a software interface like ?Visitor_ast0_types? > >> should be expressed for so many source files in a consistent way. > > > > What problem are you trying to solve? > > I would like to achieve something more for the topics which were also registered > in the issue tracker. > > > > Why do the dependency specifications need improving? > > Examples: > > elfring at Sonne:~/Projekte/Coccinelle/20160205/parsing_cocci> LANG=C make V=1 > /usr/bin/ocamldep *.mli *.ml > .depend > /usr/bin/ocamlc.opt ? > File "_none_", line 1: > Error: Cannot find file flag_parsing_cocci.cmo > make: *** [Makefile:67: cocci_parser.cma] Error 2 > > > elfring at Sonne:~/Projekte/Coccinelle/20160205/parsing_c> LANG=C make V=1 > /usr/bin/ocamlc.opt ? > File "includes.mli", line 38, characters 46-60: > Error: Unbound module Ast_c > make: *** [/home/elfring/Projekte/Coccinelle/20160205/common_rules.make:6: includes.cmi] Error 2 > > > These messages indicate reasons why I am also fiddling with the build scripts > for this software again. These command lines contain ... so I can't see what is being done. But I have never seen such a message, and no one else has ever reported such a message. julia