Alfred von Campe wrote on Mon, 05 Jun 2017 16:34 -0400:
> On Jun 5, 2017, at 14:14, Daniel Shahaf wrote:
>
> > 'make svn-mergeinfo-normalizer' will build the tool. It can be run
> > in-tree, or you can run 'make install-tools' to install it.
>
> Hmm, I don’t see a Makefile in
> ^/subversion/trunk/tools/client-side/svn-mergeinfo-normalizer
> or its immediate parent directories, so I checked out the entire Subversion
> trunk, and then
> had to do a “sh autopen.sh” followed by ./configure. Now it’s complaining
> about “no suitable
> APR found”. I think I’m going down a bit of a rathole… I don’t need/want to
> build all of
> Subversion; I really only want to check out the svn-mergeinfo-normalizer tool.
What you need to run is:
./autogen.sh && ./configure && make svn-mergeinfo-normalizer
You do need APR libraries for that. (Install the 'apr-dev' package.)
The Makefile you were looking for would be this:
cc -o svn-mergeinfo-normalizer -I ${prefix}/include/apr-1.0/ -I
${prefix}/include/subversion-1/ -L /usr/lib -Wall
-lsvn_{client,wc,ra,delta,diff,subr}-1 -lapr-1 *.c -I
${svnbuildtree}/subversion -I ${svnsrctree}/subversion/include/ &&
LD_LIBRARY_PATH=${prefix}/lib ./svn-mergeinfo-normalizer --help
... but this command requires ${svnbuildtree} to be to a directory you ran
configure in.