summaryrefslogtreecommitdiff
path: root/.lift
diff options
context:
space:
mode:
authorJay Satiro <raysatiro@yahoo.com>2023-02-21 03:38:37 -0500
committerJay Satiro <raysatiro@yahoo.com>2023-02-23 03:49:37 -0500
commit80b7f05bafdc69ce21447f9c613ef91040504a4c (patch)
tree7ee68bc0ca94b9e7894b87501b95097088fd6b94 /.lift
parent47129b2b4be50d829ffcfed8de18a9249a56a7d0 (diff)
downloadcurl-80b7f05bafdc69ce21447f9c613ef91040504a4c.tar.gz
winbuild: fix makefile clean
- Fix and move 'clean' code that removes the output and obj directories trees from MakefileBuild.vc to Makefile.vc. Prior to this change the 'clean' code did not work right because the variables containing the directory names were not fully initialized and the rmdir syntax was sometimes incorrect (typos). DIRDIST for example was set to ..\builds\ and not ..\builds\$(CONFIG_NAME_LIB)\ so it would remove the former and not the latter. If WITH_PREFIX was set then that directory was removed instead. Also, DIRDIST (the output directory) even if initialized should not be removed by MakefileBuild.vc because by that time it could be set to a user directory that may contain other files if WITH_PREFIX is set (eg we don't want rmdir /s /q C:\usr\local). Therefore we remove from Makefile.vc before any of that happens. I added a comment in both makefiles explaining this. Closes https://github.com/curl/curl/pull/10576
Diffstat (limited to '.lift')
0 files changed, 0 insertions, 0 deletions