endif
endif
+dist-stage1 dist-stage2 dist-stage3: dist-stage%: boot.stage.%
+
boot.stage.%:
$(CABAL) configure --distpref dist-stage$* \
$(INSTALL_DIRS_CONFIGURE_FLAGS) \
--datadir='$$libdir' \
--datasubdir=.
-build.stage.%:
+build.stage.%: dist-stage%
$(TOUCH_MAIN)
$(CABAL) build --distpref dist-stage$* $(BUILD_FLAGS)
$(INSTALL_PACKAGE) install '$(GHC_PKG_PROG)' 'XXX/package.conf' "" \
--distpref dist-stage2 \
$(INSTALL_FLAGS)
+install-docs:
+ @:
+
include $(TOP)/mk/bindist.mk
EXE_DIST_DIR = dist-stage$(stage)