# compiler) with the stage1 compiler. See #1860 for an example.
# Thus we rebuild the utils with stage 1 here. This is a bit unpleasant,
# as binary-dist really shouldn't actually build anything, but it works.
+# We need to do the same for utilities used during library package installation.
binary-dist::
$(MAKE) -C utils clean
$(MAKE) -C utils UseStage1=YES boot
$(MAKE) -C utils UseStage1=YES
+ $(RM) -f libraries/ifBuildable/ifBuildable
+ $(MAKE) -C libraries UseStage1=YES ifBuildable/ifBuildable
+ $(RM) -f libraries/installPackage/installPackage
+ $(MAKE) -C libraries UseStage1=YES installPackage/installPackage
ifeq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
$(MAKE) prefix=$(BIN_DIST_DIR) install-docs
binary-dist::
- cd $(BIN_DIST_DIR) && ../distrib/prep-bin-dist-mingw
+ cd $(BIN_DIST_DIR) && $(SHELL) ../distrib/prep-bin-dist-mingw
binary-dist::
$(MKDIRHIER) $(BIN_DIST_DIR)/icons
# Upload the distribution and documentation
ifneq "$(PublishLocation)" ""
-publish :: publish-binary-dist
+publish ::
+ make publish-binary-dist 'prefix=$(BIN_DIST_INST_DIR)'
endif
.PHONY: publish-binary-dist
done \
done
-# You need to first make binddisttest, and then run
-# make publish 'prefix=$(BIN_DIST_INST_DIR)'
-# for this to find the right place.
+# You need to "make binddisttest" before publishing the docs, as it
+# works by publish setting $(prefix) to inside the binddisttest
+# directory so $(docdir) points to the right place.
# We assume that Windows means Cygwin, as we can't just use docdir
# unchanged or rsync (really SSH?) thinks that c:/foo means /foo on