version 1.18, 2011/02/21 08:53:39
|
version 1.20, 2013/10/24 12:08:59
|
|
|
ifeq ($(IDISTRO),RedHatEnterpriseServer) | ifeq ($(IDISTRO),RedHatEnterpriseServer) |
DISTRO:=REDHAT | DISTRO:=REDHAT |
export PEGASUS_DISTRO_SUFFIX:= \ | export PEGASUS_DISTRO_SUFFIX:= \ |
$(if $(filter $(RELEASE),4.92 4.93 5 5.1 5.2 5.3),el5,$(if $(filter $(RELEASE),6 6.0),el6,xxx)) |
$(if $(filter $(RELEASE),4.92 4.93 5 5.1 5.2 5.3),el5, \ |
|
$(if $(filter $(RELEASE),6 6.0),el6, \ |
|
$(if $(filter $(RELEASE),7 7.0),el7,xxx))) |
else | else |
ifeq ($(findstring RedHat,$(IDISTRO)),RedHat) | ifeq ($(findstring RedHat,$(IDISTRO)),RedHat) |
DISTRO:=REDHAT | DISTRO:=REDHAT |
|
ifeq ($(findstring 7, $(RELEASE)),7) |
|
export PEGASUS_DISTRO_SUFFIX=rhel7 |
|
else |
ifeq ($(findstring 6, $(RELEASE)),6) | ifeq ($(findstring 6, $(RELEASE)),6) |
export PEGASUS_DISTRO_SUFFIX=rhel6 | export PEGASUS_DISTRO_SUFFIX=rhel6 |
else | else |
|
|
endif | endif |
endif | endif |
endif | endif |
|
endif |
else | else |
ifeq ($(findstring SUSE,$(IDISTRO)),SUSE) | ifeq ($(findstring SUSE,$(IDISTRO)),SUSE) |
DISTRO:=SUSE | DISTRO:=SUSE |