On 02/12/2013 07:28 AM, Vincent Torri wrote: > Hey > > I'm porting a lib to a non recursive make build system. I have a > single top level Makefile.am which has: > > AUTOMAKE_OPTIONS = subdir-objects > > include src/lib/css/Makefile.mk > > In that Makefile.mk, yacc is called and generates the file > src_lib_css_libecss_la-ecss_grammar.h from ecss_grammar.y (both of > them are in src/lib/css) > > is it possible to keep the name grammar.h > You means 'ecss_grammar.y', right?
> and not src_lib_css_libecss_la-ecss_grammar.h while using the > subdir-objects option ? > Not really; but you can at least shorten the name considerably using the "_SHORTNAME" trick: <http://www.gnu.org/software/automake/manual/automake.html#index-maude_005fSHORTNAME-477> HTH, Stefano