> -----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