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

Re: Dealing with get-orig-source and md5sum



On Thu, Jun 19, 2008 at 08:05:31PM -0400, Felipe Sateler wrote:
> David Paleino wrote:
> > ---8<---
> > VERSION=$(shell parsechangelog | grep ^Version | awk -F": " '{print $$2}' |
> > cut -d"-" -f1) REV=$(shell echo $(VERSION) | awk -F"~svn" '{print $$2}')
> > GOS_TMP=$(CURDIR)/get-orig-source-tmp
>
> AFAIK, get-orig-source shouldn't rely on other files to do it's job. I have
> always hardcoded the version or date to make the checkout from, to ensure that
> only debian/rules is used, and that it can be used from anywhere
> (eg, ../src/package/debian/rules get-orig-source).

Not in my experience, parsing the changelog seems to be a perfectly reasonable
thing to do. Why duplicate information when it's not necessary?

-- 
Noah Slater, http://bytesexual.org/nslater


Reply to: