Wouter Verhelst <[EMAIL PROTECTED]> writes: > On Mon, Jul 02, 2007 at 03:28:05PM +0200, Simon Richter wrote: >>> Running debian-rules can always have side effects and can actively >>> rely on them so a "--has-target" can not be implemented cleanly in >>> make. >> >> I am proposing hooking into the logic that ultimately decides that >> there is no such target in the Makefile and goes on to print "Don't >> know how to make 'foo'. Stop.". > > $(shell ls temp-target-* && rm temp-target-*): > > Yes, that's broken, but there are your side effects, and you'll have to > run this code if you want to make your --has-target work.
Or just a simple include debian/rules.gen while that is generated as needed. MfG Goswin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]