[Git][wine/wine][master] makefiles: Don't delete Makefile if makedep is interrupted.
Alexandre Julliard pushed to branch master at wine / wine Commits: 5ff335d7 by Yuxuan Shui at 2025-08-20T22:00:41+02:00 makefiles: Don't delete Makefile if makedep is interrupted. I noticed that if I Ctrl-C while makedep is re-generating the Makefile, the Makefile will be gone. There are two parts to this problem: 1. make deletes the output file if a rule is interrupted. - Solution: use the special .PRECIOUS target. 2. wine_fn_output_makefile overwrites the existing Makefile, because makedep is hardcoded to use the output makefile as its input. - Solution: add a -i command line options to makedep for specifying the input file name, then don't overwrite Makefile in wine_fn_output_makefile. - - - - - 3 changed files: - configure - configure.ac - tools/makedep.c View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/5ff335d763398769b52cd148ede23e0... -- View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/5ff335d763398769b52cd148ede23e0... You're receiving this email because of your account on gitlab.winehq.org.
participants (1)
-
Alexandre Julliard (@julliard)