Commit beac5252 authored by thoughtpolice's avatar thoughtpolice Committed by Austin Seipp

Fix installation of ghc-split (#8760)

The rules weren't correctly setting INSTALL_TOPDIRS, and on top of that
the dependencies were wrong when BINDIST=YES.
Authored-by: default avatarEvan Hauck <khyperia@live.com>
Authored-by: default avatarAustin Seipp <austin@well-typed.com>
Signed-off-by: default avatarAustin Seipp <austin@well-typed.com>
parent 5075c191
......@@ -56,7 +56,6 @@ ifeq "$(findstring clean,$(MAKECMDGOALS))" ""
ifneq "$$(BINDIST)" "YES"
$1/$2/$$($1_$2_PROG).prl: $1/$$($1_PERL_SRC) $$$$(unlit_INPLACE) | $$$$(dir $$$$@)/.
"$$(unlit_INPLACE)" $$(UNLIT_OPTS) $$< $$@
endif
$1/$2/$$($1_$2_PROG): $1/$2/$$($1_$2_PROG).prl
$$(call removeFiles,$$@)
......@@ -70,6 +69,15 @@ $$($1_$2_INPLACE): $1/$2/$$($1_$2_PROG) | $$$$(dir $$$$@)/.
$$(EXECUTABLE_FILE) $$@
endif
endif
ifeq "$$($1_$2_INSTALL)" "YES"
ifeq "$$($1_$2_TOPDIR)" "YES"
INSTALL_TOPDIRS += $$($1_$2_INPLACE)
else
INSTALL_BINS += $$($1_$2_INPLACE)
endif
endif
$(call profEnd, build-perl($1,$2))
endef
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment