[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Error with transform_sql.sh rule

From: Daniel Richard G. <skunk_at_iSKUNK.ORG>
Date: Wed, 28 Apr 2010 11:01:54 -0400

On Wed, 2010 Apr 28 09:33-0500, Hyrum K. Wright wrote:
> >
> > Given that rep-cache-db.h is always generated at build time, and is
> > not something that (I gather) can be bundled in the source tarball,
> > it should be written to builddir, not to srcdir.
>
> Yes, this is a bug in the build / distribution process. In 1.7 and
> beyond, we pretransform the sql files, since they aren't platform-
> dependent, but those bits have yet to be backported to 1.6.x.

I was able to work around this by removing the $(top_srcdir)/ prefix in
the output of the .sql.h rule in the makefile, and updating INCLUDES
with -I$(top_builddir)/subversion/libsvn_fs_fs .

--Daniel

-- 
NAME = Daniel Richard G.     _\|/_    Remember, skunks
MAIL = skunk_at_iSKUNK.ORG     (/o|o\) _- don't smell bad---
MAIL+= skunk_at_alum.MIT.EDU   < (^),>     it's the people who
WWW  = (not there yet!)      /   \      annoy us that do!
Received on 2010-04-28 17:02:25 CEST

This is an archived mail posted to the Subversion Dev mailing list.