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

Re: Bug#604397: debian-policy: require build-arch and build-indep targets



* Jonathan Nieder <jrnieder@gmail.com>, 2011-03-01, 21:01:
So it seems to me that "dpkg-buildpackage -B" ought to be taught to
run the equivalent of

	debian/rules build-arch
	if test "$?" = 2
	then
		debian/rules build
	fi

make exits with code 2 "if any errors were encountered". So no, this approach cannot be used.

--
Jakub Wilk


Reply to: