You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by John Peacock <jo...@havurah-software.org> on 2008/04/19 10:31:59 UTC

Installing contrib stuff (e.g. svnmucc)

I've been working on packaging up (RPM) Subversion for our internal use 
and I wanted to install a couple of the standalone tools under contrib, 
but although there are Makefile targets to compile them, there doesn't 
appear to be a way to install them.  Am I being blind?  I know I can use 
'libtool mode=install ..." but this requires encoding the path to the 
file itself into the RPM script, which is less than elegant.  Besides, 
all that libtool does (apparently) is just copy the .lib/{FILENAME} version.

Is it possible to add install targets for all of the contrib tools that 
already have build targets?  Is there already a way to do it that isn't 
documented?

TIA

John

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Installing contrib stuff (e.g. svnmucc)

Posted by "C. Michael Pilato" <cm...@collab.net>.
John Peacock wrote:
> C. Michael Pilato wrote:
>> Your defense is no good, because there's nothing magic about 
>> "install-tools".  :-)  The knowledge you lack is that Subversion's 
>> make targets exist in two files:  Makefile and build-outputs.mk.  It 
>> is in the latter where "install-tools" is defined.
> 
> Found that seconds after I sent the last messages.  It _still_ isn't 
> documented anywhere, though.  Should I prepare a patch for INSTALL, the 
> book, http://subversion.tigris.org/tools_contrib.html, or the source 
> code for svnmucc itself??? ;-)

INSTALL and tools_contrib.html seem like good places for related text.  Go 
for it!

-- 
C. Michael Pilato <cm...@collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand


Re: Installing contrib stuff (e.g. svnmucc)

Posted by Eric Gillespie <ep...@pretzelnet.org>.
John Peacock <jo...@havurah-software.org> writes:

> Found that seconds after I sent the last messages.  It _still_ isn't 
> documented anywhere, though.  Should I prepare a patch for INSTALL, the 
> book, http://subversion.tigris.org/tools_contrib.html, or the source 
> code for svnmucc itself??? ;-)

How about you instead move svnmucc into the subversion directory,
making it a full-fledge tool?  We talked about this a while ago,
with no objections, and quite a lot of support.  It just needs
someone to do it...

--  
Eric Gillespie <*> epg@pretzelnet.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Installing contrib stuff (e.g. svnmucc)

Posted by John Peacock <jo...@havurah-software.org>.
C. Michael Pilato wrote:
> Your defense is no good, because there's nothing magic about 
> "install-tools".  :-)  The knowledge you lack is that Subversion's make 
> targets exist in two files:  Makefile and build-outputs.mk.  It is in 
> the latter where "install-tools" is defined.

Found that seconds after I sent the last messages.  It _still_ isn't 
documented anywhere, though.  Should I prepare a patch for INSTALL, the 
book, http://subversion.tigris.org/tools_contrib.html, or the source 
code for svnmucc itself??? ;-)

John

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Installing contrib stuff (e.g. svnmucc)

Posted by "C. Michael Pilato" <cm...@collab.net>.
John Peacock wrote:
> C. Michael Pilato wrote:
>> John Peacock wrote:
>>> Ah, I tried 'make install tools', but not with a hyphen.  I'll give 
>>> that a shot on Monday (my VPN is currently down)...
>>
>> Right.  "make install tools" basically means "make install && make 
>> tools". Not quite what you wanted.  :-)
> 
> But in my defense, 'install-tools' is a "magic Makefile target" that 
> doesn't exist as an actual line in the Makefile (nor is it documented 
> anywhere that I could find, hint, hint)...

Your defense is no good, because there's nothing magic about 
"install-tools".  :-)  The knowledge you lack is that Subversion's make 
targets exist in two files:  Makefile and build-outputs.mk.  It is in the 
latter where "install-tools" is defined.

$ grep install-tools Makefile build-outputs.mk
build-outputs.mk:install-tools: 
tools/server-side/svn-populate-node-origins-index$(EXEEXT) 
contrib/client-side/svnmucc/svnmucc$(EXEEXT)
$

-- 
C. Michael Pilato <cm...@collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand


Re: Installing contrib stuff (e.g. svnmucc)

Posted by John Peacock <jo...@havurah-software.org>.
C. Michael Pilato wrote:
> John Peacock wrote:
>> Ah, I tried 'make install tools', but not with a hyphen.  I'll give 
>> that a shot on Monday (my VPN is currently down)...
> 
> Right.  "make install tools" basically means "make install && make 
> tools". Not quite what you wanted.  :-)

But in my defense, 'install-tools' is a "magic Makefile target" that 
doesn't exist as an actual line in the Makefile (nor is it documented 
anywhere that I could find, hint, hint)...

John

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Installing contrib stuff (e.g. svnmucc)

Posted by "C. Michael Pilato" <cm...@collab.net>.
John Peacock wrote:
> C. Michael Pilato wrote:
>> John Peacock wrote:
>>> Is it possible to add install targets for all of the contrib tools 
>>> that already have build targets?  Is there already a way to do it 
>>> that isn't documented?
>>
>> Do 'make install-tools' and/or 'make install-contrib' do what you want?
>>
> 
> Ah, I tried 'make install tools', but not with a hyphen.  I'll give that 
> a shot on Monday (my VPN is currently down)...

Right.  "make install tools" basically means "make install && make tools". 
Not quite what you wanted.  :-)

-- 
C. Michael Pilato <cm...@collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand


Re: Installing contrib stuff (e.g. svnmucc)

Posted by John Peacock <jo...@havurah-software.org>.
C. Michael Pilato wrote:
> John Peacock wrote:
>> Is it possible to add install targets for all of the contrib tools 
>> that already have build targets?  Is there already a way to do it that 
>> isn't documented?
> 
> Do 'make install-tools' and/or 'make install-contrib' do what you want?
> 

Ah, I tried 'make install tools', but not with a hyphen.  I'll give that 
a shot on Monday (my VPN is currently down)...

John

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Installing contrib stuff (e.g. svnmucc)

Posted by "C. Michael Pilato" <cm...@collab.net>.
John Peacock wrote:
> I've been working on packaging up (RPM) Subversion for our internal use 
> and I wanted to install a couple of the standalone tools under contrib, 
> but although there are Makefile targets to compile them, there doesn't 
> appear to be a way to install them.  Am I being blind?  I know I can use 
> 'libtool mode=install ..." but this requires encoding the path to the 
> file itself into the RPM script, which is less than elegant.  Besides, 
> all that libtool does (apparently) is just copy the .lib/{FILENAME} 
> version.
> 
> Is it possible to add install targets for all of the contrib tools that 
> already have build targets?  Is there already a way to do it that isn't 
> documented?

Do 'make install-tools' and/or 'make install-contrib' do what you want?

-- 
C. Michael Pilato <cm...@collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org