diff options
Diffstat (limited to 'testsuite/tests/plugins/simple-plugin/Makefile')
-rw-r--r-- | testsuite/tests/plugins/simple-plugin/Makefile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/testsuite/tests/plugins/simple-plugin/Makefile b/testsuite/tests/plugins/simple-plugin/Makefile new file mode 100644 index 0000000000..53842deb9d --- /dev/null +++ b/testsuite/tests/plugins/simple-plugin/Makefile @@ -0,0 +1,23 @@ +TOP=../../.. +include $(TOP)/mk/boilerplate.mk +include $(TOP)/mk/test.mk + +LOCAL_PKGCONF=local.package.conf +PKG_NAME=simple-plugin + +clean: + rm -f $(LOCAL_PKGCONF) + rm -rf dist + rm -rf install + +PREFIX := $(abspath install) +$(eval $(call canonicalise,PREFIX)) + +package: + "$(TEST_HC)" --make -v0 -o setup Setup.hs + + echo "[]" >$(LOCAL_PKGCONF) + + ./setup configure -v0 --prefix="$(PREFIX)" --with-compiler="$(TEST_HC)" --with-hc-pkg="$(GHC_PKG)" --package-db=$(LOCAL_PKGCONF) + ./setup build -v0 + ./setup install -v0 |