Re: changelogs again (libc6 this time)
Josip Rodin <email@example.com> 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')