On Mon, Apr 16, 2001 at 12:57:47AM -0700, David Schleef wrote: > > You may want to approach this a different way, since this makes "Linux" the > > norm, and "Hurd" the deviant. It would probably be better to test if > > the DEB_HOST_ARCH were a member of the "Linux" family. I don't know a > > good way to do this (Please let me know if you do, it will be useful to > > me elsewhere!) > > How about: > > ifneq ($(findstring linux,$(DEB_HOST_ARCH)),) > echo linux > else > echo not linux > endif
Excellent! I just noticed that ifeq ($(DEB_HOST_GNU_SYSTEM), linux) appears in rules2 as well. > Of course, the way to sell this is because it avoids potential > bugs when someone does hurd-powerpc, not because of any lack of > deviance on the hurd's part. We all know how deviant the Hurd > is... =) =) <giggle> Caught red-handed. ;) Thanks for your help! Tks, Jeff Bailey
pgpdaeBQF1ebA.pgp
Description: PGP signature