From 6f639f07e2b36cb35f10b12b317221b96d72d3ad Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Mon, 19 Dec 2016 12:30:51 +0100 Subject: [PATCH] ib_srpt, Makefile: Align shell code --- srpt/Makefile | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/srpt/Makefile b/srpt/Makefile index d37b2ef32..b3c6c218e 100644 --- a/srpt/Makefile +++ b/srpt/Makefile @@ -5,12 +5,18 @@ ifndef PREFIX PREFIX=/usr/local endif -SCST_INC_DIR := $(shell if [ -e "$$PWD/../scst" ]; \ - then echo "$$PWD/../scst/include"; \ - else echo "$(DESTDIR)$(PREFIX)/include/scst"; fi) -SCST_SYMVERS_DIR := $(shell if [ -e $$PWD/../scst ]; then \ - echo $$PWD/../scst/src; \ - else echo $(DESTDIR)$(PREFIX)/include/scst; fi) +SCST_INC_DIR := $(shell \ + if [ -e "$$PWD/../scst" ]; then \ + echo "$$PWD/../scst/include"; \ + else \ + echo "$(DESTDIR)$(PREFIX)/include/scst"; \ + fi) +SCST_SYMVERS_DIR := $(shell \ + if [ -e "$$PWD/../scst" ]; then \ + echo "$$PWD/../scst/src"; \ + else \ + echo "$(DESTDIR)$(PREFIX)/include/scst"; \ + fi) ifeq ($(KVER),) ifeq ($(KDIR),)