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),)