Which is not bash ;-) ------------------------------------------------------------------------ PREINING, Norbert http://www.preining.info JAIST, Japan TeX Live & Debian Developer GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13 ------------------------------------------------------------------------
> On Jan 20, 2016, at 19:46, John Paul Adrian Glaubitz > <[email protected]> wrote: > >> On 01/20/2016 11:42 AM, Norbert Preining wrote: >> out of house climbing, but the texlive-bin debian/rules file has code to >> deselect those arch, afair without bash trickery but make constructs. > > It actually uses the same mechanism that haskell-hslua currently uses: > > LUAJIT_GOOD_ARCHS := amd64 armel armhf hurd-i386 i386 kfreebsd-amd64 > kfreebsd-i386 mips mipsel powerpc > (...) > ifeq (,$(filter $(DEB_HOST_ARCH), $(LUAJIT_GOOD_ARCHS))) > # it is not in the list of good archs -> disable luajittex > BUILDLUAJITTEX=--disable-luajittex > WITHLUAJIT=no > else > # not necessary, but for completeness > BUILDLUAJITTEX=--enable-luajittex > WITHLUAJIT=yes > endif > > Adrian > > -- > .''`. John Paul Adrian Glaubitz > : :' : Debian Developer - [email protected] > `. `' Freie Universitaet Berlin - [email protected] > `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

