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

Re: svn commit: rev 4076 - in trunk: . build

From: Branko Čibej <brane_at_xbc.nu>
Date: 2002-12-12 01:59:28 CET

Matt Kraai wrote:

>On Wed, Dec 11, 2002 at 11:09:50AM -0800, Justin Erenkrantz wrote:
>
>
>><kraai@alumni.cmu.edu> wrote:
>>
>>
>>
>>>How about the following patch?
>>>
>>>Matt
>>>
>>>* Makefile.in
>>> (local-extraclean): Remove configure.in.
>>>
>>>* autogen.sh: Ensure build/getversion.py is executable, and generate
>>> configure.in with the version embedded therein.
>>>
>>>* build/get-version.sh: Remove.
>>>
>>>* build/getversion.py: Add #! line and convert line endings.
>>>
>>>* configure.in: Rename to...
>>>
>>>* configure.in.in: ...this and remove version determination.
>>>
>>>
>>Oooh, yuck. -1. Please no configure.in.in baloney. -- justin
>>
>>
>
>OK. I've appended my next attempt. Does anyone know how to remove
>the extra newline from the version?
>
You have to match the the end-of-line (with $) in the substitution. Even
better, use getversion.py the way it was meant to be used -- as a
module, not a script. Then you don't have to sed for the version number.

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Dec 12 02:00:12 2002

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