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
12 $(RM) -rf $(BIN_DIST_INST_SUBDIR)
14 $(RM) HelloWorld HelloWorld.o HelloWorld.hi output
15 $(TAR) -jxf $(BIN_DIST_TAR_BZ2)
16 ifeq "$(Windows)" "YES"
17 mv $(BIN_DIST_NAME) $(BIN_DIST_INST_DIR)
19 cd $(BIN_DIST_NAME) && ./configure --prefix=$(BIN_DIST_INST_DIR)
20 cd $(BIN_DIST_NAME) && make install
22 $(BIN_DIST_INST_DIR)/bin/ghc --make HelloWorld
24 $(CONTEXT_DIFF) output expected_output
27 $(RM) -rf $(BIN_DIST_INST_SUBDIR)
29 $(RM) HelloWorld HelloWorld.o HelloWorld.hi output
31 # Ignore a load of other standard targets
32 install install-docs doc: