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

Re: Question on make process for Subversion

From: Sam Barnett-Cormack <s.barnett-cormack_at_lancaster.ac.uk>
Date: Mon, 08 Sep 2008 11:13:59 +0100

Robert Dailey wrote:
> On Tue, Aug 5, 2008 at 9:52 AM, Robert Dailey <rcdailey_at_gmail.com
> <mailto:rcdailey_at_gmail.com>> wrote:
> Yes, that helps out a great deal Sam. Thank you very much. Now to
> just figure out what external-all and local-all are :) I'll post on
> the Archlinux forums about the rest. I thought they were svn
> specific, but I guess not. I'm not really sure what they're specific to.
> Thanks again.
> I'm still looking to figure out what "make external-all" and "make
> local-all" do. Could someone please explain?

Okay, when you do "make something", it looks through the makefile for a
target calles "something".

A makefile has lots of targets. They are of the format

targetname: dependency1 dependency2

(The indent is always an actual tab character, not some spaces). Those
dependencies are other targets, that may or may not be actual files; the
dependency may also be files that aren't specified as targets, as those
are files that are part of the "input" to the make process. Dependencies
help it to know what to do, but also whether things need doing - for
file targets, any file dependencies are checked to see if they are newer
than the current version of the file (using filesystem timestamps), and
if they are, the target is built. This is all recursive, and I've
simplified a bit, but that's the gist.

external-all and local-all will be non-file targets (they don't produce
files of those names, or of any name that's traced by make). Somewhere
in the makefile will be a target

external-all: this that theother

Maybe it won't even have any commands - it might just list the targets
to be recursed down into. You'll have to follow down to figure it out.
Alternatively, it might be that those targets are common auto-generated
ones by autotools (or something similar), in which case google might
help somewhat.


To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-09-08 12:14:32 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.