This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Ada] Add update-sources target to Makefile.in


Alexandre Oliva wrote:

>
> The convention has been that, when files are supposed to exist in the
> source tree, they should be generated in the source tree.


There is certainly no consensus on that convention.  I think generated

sources (such as bison outputs) belong in the build directory.  They
will end up in the source directory of a distribution, of course, so
this does require Makefile rules that can handles the generated sources
being in either the source dir or the build dir.
-- 
	--Per Bothner
per@bothner.com   http://www.bothner.com/per/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]