[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kernel-image/debian.README; confusion over version numbers

>>"Bill" == Bill Mitchell <mitchell@mdd.comm.mot.com> writes:

Bill> Why not use something like the following in debian.rules to set $(v)?

Bill> VERSION=$(shell grep ^VERSION Makefile | \
Bill>                 sed -e 's/[^0-9]*\([0-9]*\)/\1/')
Bill> PATCHLEVEL=$(shell grep ^PATCHLEVEL Makefile | \
Bill>                 sed -e 's/[^0-9]*\([0-9]*\)/\1/')
Bill> SUBLEVEL=$(shell grep ^SUBLEVEL Makefile | \
Bill>                 sed -e 's/[^0-9]*\([0-9]*\)/\1/')

	Cool. I *like* that (wish I had thought of doing that).  I'll
 put this automatic version number deducing code in the next version
 of scripts that I upload (0.8, I think). However, I'll wait 24 hours
 to see if anything else comes up (I notice that Linus just released
 pre-2.0.6, so we may have time before the stable version comes out).

Nothing ever becomes real until it is experienced.  -- John Keats %%
Manoj Srivastava               Systems Research Programmer, Project Pilgrim,
Phone: (413) 545-3918                A143B Lederle Graduate Research Center,
Fax:   (413) 545-1249         University of Massachusetts, Amherst, MA 01003
<srivasta@pilgrim.umass.edu> <URL:http://www.pilgrim.umass.edu/%7Esrivasta/>

Reply to: