On Thu, Oct 23, 2003 at 12:58:19AM +0200, Bill Allombert wrote: > So I come up with a different proposal: > Introducing a new file, say debian/rules.version. > If this file does not exist, we declare that version=0, > else version=`cat debian/rules.version`.
Yes, yes, yes! What an elegant solution to such a messy problem. Well done! You certainly have my vote!! > Currently 2 versions are defined: > 0: debian/rules support rules described as mandatory by policy. > 1: as 0, but debian/rules also support build-arch and build-indep. > > Future version of policy can define higher version. > > dpkg-buildpackage just need to read this file before deciding > whether it can call debian/rules build-arch. Julian -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Julian Gilbey, website: http://www.polya.uklinux.net/ Debian GNU/Linux Developer, see: http://people.debian.org/~jdg/ Visit http://www.thehungersite.com/ to help feed the hungry