Hi,
>>"Adam" == Adam P Harris <[EMAIL PROTECTED]> writes:
Adam> Personally I think it's a bad policy to look at your directory
Adam> name to determine your version number; too error prone and
Adam> unforgiving of strange but useful conditions.
I would, actually, call it a bug.
Adam> I use the following to take version numbers from the changelog:
Adam> SRC_VERSION := $(shell head -1 debian/changelog | cut '-d ' -f 2 | sed
's/[()]//g')
Adam> [note the use of := instead of = as well; 'info make' for more info]
Why not go one step further and use the acceted interface to
chengelogs?
SRC_VERSION := $(shell LC_ALL=C dpkg-parsechangelog | grep ^Version: | sed
's/^Version: *//')
I think this is more robust ;-)
manoj
--
"The worst thing is when you have to kill someone you love because
they're SATAN." Judy Tenuda
Manoj Srivastava <[EMAIL PROTECTED]> <http://www.datasync.com/%7Esrivasta/>
Key C7261095 fingerprint = CB D9 F4 12 68 07 E4 05 CC 2D 27 12 1D F5 E8 6E
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]