summaryrefslogtreecommitdiff
path: root/rules/shell-wrapper.mk
diff options
context:
space:
mode:
authorThomas Miedema <thomasmiedema@gmail.com>2015-05-26 18:31:43 +0200
committerThomas Miedema <thomasmiedema@gmail.com>2015-05-30 16:49:26 +0200
commitb0885e467990e9843f11b2b9d5ceb5d3b3109132 (patch)
treef2074ead04dae85d2e201aee5f1baca9900097c4 /rules/shell-wrapper.mk
parent47e00ec4a85b492a1e9f8750b4ba12963a10d76a (diff)
downloadhaskell-b0885e467990e9843f11b2b9d5ceb5d3b3109132.tar.gz
Build system: whitespace and comments only
[skip ci]
Diffstat (limited to 'rules/shell-wrapper.mk')
-rw-r--r--rules/shell-wrapper.mk9
1 files changed, 6 insertions, 3 deletions
diff --git a/rules/shell-wrapper.mk b/rules/shell-wrapper.mk
index ae38e65d34..6b84072537 100644
--- a/rules/shell-wrapper.mk
+++ b/rules/shell-wrapper.mk
@@ -20,6 +20,7 @@ ifeq "$$($1_$2_SHELL_WRAPPER_NAME)" ""
$1_$2_SHELL_WRAPPER_NAME = $1/$$($1_$2_PROGNAME).wrapper
endif
+
ifeq "$$($1_$2_WANT_INPLACE_WRAPPER)" "YES"
$1_$2_INPLACE_SHELL_WRAPPER_NAME = $$($1_$2_PROG)
@@ -56,7 +57,8 @@ else
endif
$$(EXECUTABLE_FILE) $$@
-endif
+endif # $1_$2_WANT_INPLACE_WRAPPER
+
ifeq "$$($1_$2_WANT_INSTALLED_WRAPPER)" "YES"
@@ -88,7 +90,8 @@ install_$1_$2_wrapper:
cat $$($1_$2_SHELL_WRAPPER_NAME) >> "$$(WRAPPER)"
$$(EXECUTABLE_FILE) "$$(WRAPPER)"
-endif
+endif # $1_$2_WANT_INSTALLED_WRAPPER
+
ifeq "$$($1_$2_WANT_BINDIST_WRAPPER)" "YES"
ifneq "$$(TargetOS_CPP)" "mingw32"
@@ -109,7 +112,7 @@ endif
$$(EXECUTABLE_FILE) $$@
endif
-endif
+endif # $1_$2_WANT_BINDIST_WRAPPER
$(call profEnd, shell-wrapper($1,$2))
endef