[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: automake and intermediate files generated by yacc, lex, valac



On Tue, Dec 29, 2009 at 03:23:21AM +0900, Ansgar Burchardt wrote [edited]:
> there are several tools that generate C source code that is later
> complied in object code, e.g. yacc, lex or valac.  automake defaults to
> distribute these built intermediate files, so they are usually not
> regenerated during a build.

To control whether automake regenerates auto-generated files, have a look at
AM_MAINTAINER_MODE [0]

I ask my upstreams to not distribute auto-generated files. Failing that, I
make sure that debian/rules rebuilds everything from scratch, in a way that
all upstream files are restored after running the clean target.

[0] http://www.gnu.org/software/hello/manual/automake/maintainer_002dmode.html

-- 
debtags-organised WNPP bugs: http://members.hellug.gr/serzan/wnpp


Reply to: