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

Re: doc/book request

From: Greg Stein <gstein_at_lyra.org>
Date: 2003-05-08 21:34:32 CEST

On Thu, May 08, 2003 at 11:21:51AM -0700, Bruce A. Mah wrote:
>...
> +++ doc/book/Makefile (working copy)
> @@ -3,7 +3,9 @@
> INSTALL = install
>
> ## You shouldn't normally need to edit anything below here.
> +PRINTF = printf

I don't think this is portable, so...

>...
> +$(BOOK_VERSION_SOURCE):
> + $(PRINTF) '<!ENTITY svn.version "%s">' `$(SVNVERSION) .` > $(BOOK_VERSION_SOURCE)

echo '<!ENTITY svn.version "VERSION">' | sed "s/VERSION/`$(SVNVERSION) .`/" > $(BOOK_VERSION_SOURCE)

That would be a lot easier if it wasn't for the darned exclamation point :-)

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu May 8 21:33:17 2003

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.