- cp Makefile $(BIN_DIST_LIBDIR)
- cp gen_contents_index $(BIN_DIST_LIBDIR)
- cp index.html $(BIN_DIST_LIBDIR)
- cp doc-index.html $(BIN_DIST_LIBDIR)
- cp -a stamp $(BIN_DIST_LIBDIR)
+ mkdir $(BIN_DIST_LIBDIR)/installPackage
+ cp installPackage/installPackage $(BIN_DIST_LIBDIR)/installPackage
+ mkdir $(BIN_DIST_LIBDIR)/ifBuildable
+ cp ifBuildable/ifBuildable $(BIN_DIST_LIBDIR)/ifBuildable
+ cp Makefile $(BIN_DIST_LIBDIR)
+ifeq "$(HADDOCK_DOCS)" "YES"
+ cp gen_contents_index $(BIN_DIST_LIBDIR)
+ cp index.html $(BIN_DIST_LIBDIR)
+ cp doc-index*.html $(BIN_DIST_LIBDIR)
+endif
+ cp -pR stamp $(BIN_DIST_LIBDIR)
+ # This gets used in the compiler directory to see if GHC should
+ # depend on the readline package or not
+ $(MKDIRHIER) $(BIN_DIST_LIBDIR)/readline
+ cp readline/config.mk $(BIN_DIST_LIBDIR)/readline