[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: building a package two times



On 03/05/2008, Marco d'Itri wrote:
> DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
> ifeq      ($(DEB_HOST_ARCH),amd64)
> FLAVORS := std
> else ifeq ($(DEB_HOST_ARCH),ia64)
> FLAVORS := std
> else ifeq ($(DEB_HOST_ARCH),ppc64)
> FLAVORS := std
> else ifeq ($(DEB_HOST_ARCH),s390x)
> FLAVORS := std
> else
> FLAVORS := std lfs
> endif

Since you have “FLAVORS := std” in every case but the last one, why not
using findstring, so as to factorize a bit?

Mraw,
KiBi.

Attachment: pgp9Dni_HPF73.pgp
Description: PGP signature


Reply to: