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

Re: changelogs again (libc6 this time)



Josip Rodin <joy@cibalia.gkvk.hr> writes:

> > > version         := $(shell expr $(CURDIR) : '.*-\([0-9.]*\)')
> > > 
> > >         dh_makeshlibs -V "libnessus1 (>= $(version))"
> > 
> > 	So you can't build nessus in a dir called "foo"? That's not
> >         a trend I want to see. I do test builds raw from a CVS working
> >         directory, and naming that dir "foo-1.2" would be silly; the
> >         thing stays the same for many versions.
> 
> It was convenient to acquire the version that way. If you know how to use
> CVS, you'll know how to adjust the rules file. :)

	Just get it from debian/changelog.

version	:= $(shell dpkg-parsechangelog | sed -n 's/^Version: //p')

-- 
tv@{{hq.yok.utu,havoc,gaeshido}.fi,{debian,wanderer}.org,stonesoft.com}
double a,b=4,c;main(){for(;++a<2e6;c-=(b=-b)/a++);printf("%f\n",c);}



Reply to: