KSRC is not a environment variable, it is a make variable. So, I'd expect debian/rules KSRC=foo kdist_image to work but not KSRC=foo debian/rules kdist_image.
There's really no harm in making it be an environment variable; I can replace $(KSRC) with ${KSRC} in debian/rules. Please confirm that fixes your problem and I'll upload the change and close the bug. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]