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

Re: buildinfo.debian mit debhelper ?



Joey Hess <joey@kitenet.net> writes:
> Christian Hammers wrote:
> > How can I make a /usr/doc/package/buildinfo.debian file when using
> > the debhelper tools.
> 
> Debhelper does not support that file, I have never seen a good argument for
> it's existance.

I have.  Some packages require specific versions of supporting
packages.  Since we don't have source depends,
/usr/doc/<pkg>/buildinfo.Debian files are a useful thing.  Even Manoj
does it!

Christian, here is how I do it (borrowed from Manoj) in debian/rule:

build:
	[...]
	dpkg -l libc6 gcc g++272 libg++272 libg++272-dev \
	  sgml-base sgml-data make dpkg-dev | \
	  awk '$$1 == "ii" { printf("%s-%s\n", $$2, $$3) }' > \
	  debian/buildinfo
	touch build

.....A. P. Harris...apharris@onShore.com...<URL:http://www.onShore.com/>


--
To UNSUBSCRIBE, email to debian-mentors-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: