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

build rules

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2001-06-04 21:36:22 CEST

Question for gstein.

In the old days, if I changed a single C file and ran 'make' in a
subdir, it would recompile the one file and then relink the particular
libsvn_ library I was working in. I would then deliberately go into
client/ and run 'make clean && make', because I wanted a fresh
timestamp on the svn binary.

To be clear: the issue here is that I (and others) have become very
dependent on running 'svn -v' and seeing *exactly* when the binary was
built. That timestamp is hardcoded into help-cmd.c, I believe... so
the only way to get a "fresh" binary was to 'make clean'.

In the new build system, if I change one C file and run 'make' from
the top level, then

  * the C file is recompiled
  * the library is re-linked
  * 'svn' is relinked.

Which is perfectly correct. But the problem is that I need a rule to
'make clean' *only* in the client/ directory. I've lately just been
going into client and doing an 'rm -rf *.o'. Kinda silly?

So what's the solution? Can we have a rule which forcibly rebuilds
the entire command-client client?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:31 2006

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

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