6 # Ideally we'd just include something to give us variables
7 # for paths and arguments to tools etc, and those set in mk/build.mk.
9 include $(TOP
)/mk
/boilerplate.mk
11 INST_DIR
= $(FPTOOLS_TOP_ABS
)/bindisttest
/installed
16 $(RM
) HelloWorld HelloWorld.o HelloWorld.hi output
17 $(TAR
) -jxf ..
/$(BIN_DIST_TARBALL
)
18 ifeq "$(Windows)" "YES"
19 mv
$(BIN_DIST_NAME
) $(INST_DIR
)
21 cd
$(BIN_DIST_NAME
) && .
/configure
--prefix=$(INST_DIR
)
22 cd
$(BIN_DIST_NAME
) && make
install
24 $(INST_DIR
)/bin
/ghc
--make HelloWorld
26 $(CONTEXT_DIFF
) output expected_output
31 $(RM
) HelloWorld HelloWorld.o HelloWorld.hi output
33 # Ignore a load of other standard targets
34 install install-docs doc
: