~ chicken-core (chicken-5) 66399b7bd8595b4debef4b8f756fe106fce4a00d
commit 66399b7bd8595b4debef4b8f756fe106fce4a00d Author: Peter Bex <peter@more-magic.net> AuthorDate: Sat May 6 16:17:01 2017 +0200 Commit: Evan Hanson <evhan@foldling.org> CommitDate: Sun May 7 13:11:29 2017 +1200 Get rid of interactive prompts during install on mingw. Due to dae44b93b02118c70c98cfd47041061b66bc0f0f, we now install manpages to a different target filename than the source filename has. Because we're using XCOPY, when we're installing to an empty directory, it asks us whether we intend the target to be a differently-named target *file*name or a newly-to-create *directory* under which it should place the file with the original source's filename. Because XCOPY has no switch to tell it to force interpretation of the final path component as a file, only as a directory (sigh, Windows...), we can't use it. Luckily, we only ever use the /Y flag, which COPY also has. So, COPY is effectively equivalent to XCOPY in all the situations we use it in. Therefore, switch to copy instead. Signed-off-by: Evan Hanson <evhan@foldling.org> diff --git a/defaults.make b/defaults.make index 6bf867c4..bc66d78c 100644 --- a/defaults.make +++ b/defaults.make @@ -83,7 +83,7 @@ LINKER ?= $(C_COMPILER) ASSEMBLER ?= $(C_COMPILER) ifdef WINDOWS_SHELL REMOVE_COMMAND ?= del -INSTALL_PROGRAM ?= xcopy +INSTALL_PROGRAM ?= copy MAKEDIR_COMMAND ?= -mkdir else REMOVE_COMMAND ?= rmTrap