I should have looked at the rule , there was already a test for the hurd . I have moved the symlink creation appropriately, please apply for the next upload.
Regards Alban
--- debian/rules.orig 2005-03-11 12:05:58.000000000 +0100 +++ debian/rules 2005-03-11 12:04:29.000000000 +0100 @@ -60,10 +60,10 @@ debian/tmp/usr/bin/mktemp \ debian/tmp/usr/bin/which \ debian/tmp/bin/ - ln -s /bin/which debian/tmp/usr/bin/which ifeq ($(DEB_BUILD_GNU_SYSTEM),linux) mv debian/tmp/usr/sbin/installkernel debian/tmp/sbin/ else + ln -s /bin/which debian/tmp/usr/bin/which rm debian/tmp/usr/sbin/installkernel \ debian/tmp/usr/sbin/mkboot \ debian/tmp/usr/share/man/man8/installkernel.8 \