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

RE: Help regarding custom makefile

From: Erik Hemdal <erik_at_comprehensivepower.com>
Date: Mon, 11 Aug 2008 09:15:49 -0400

> -----Original Message-----
> From: Kapil Aditani [mailto:kapil_a_at_thbs.com]
> Sent: Monday, August 11, 2008 4:45 AM
> To: Řyvind A. Holm
> Subject: Re: Help regarding custom makefile
>
>
> I have created the repository and imported the files into it.
>
> # svn list $Repos
> Path1
> Path2
>
> # svn list $Repos/Path1
> SubPath1
> SubPath2
>
> # svn list $Repos/Path2
> SubPath3
> SubPath4
>
> I have checked out
> $Repos/Path1SubPath1
>
> It contain a Makefile which has a file entry of
> $Repos/Path2/SubPath4. How to let Makefile know that pick it
> from following path of repository
>
>

It sounds like you are trying to construct a makefile to be used inside a
working copy, which you checked out in this example
from a repository at $Repos/Path1/SubPath1 to somewhere on your local
computer.

You want the makefile to refer to file(s) checked out from
$Repos/Path2/SubPath4. That won't be in the working copy you checked out if
Path1 and Path2 are in different repositories, so it won't be around for
make to find. Even if the two paths are in the same repository, you need to
check out starting at a higher level to get both SubPaths in your working
copy. Don't try to read a file right from the repository itself, check out
the files you want into a working copy. Then you can use make to do what
you want to do.

If the paths are in different repos, you probably want to look at the
svn:externals property in the SVN book.

I hope I understood your question, and that this will help you. Erik

> OR
> I can say I want to know how to use 'make' with svn command
> as in svn repository nothing is visible with 'svn list' command?
>
>
>
> Regards, Kapil Aditani
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-08-11 15:15:24 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.