You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As per https://www.gnu.org/prep/standards/html_node/Standard-Targets.html, make distclean should purge all the build files generated by both the configure and build steps, but after running it some files still remain. I'm not yet familiar enough with automake to know why this is happening. For now git clean -fdX (note the capitalized X) is working fine, but I'm creating this issue so I can come back and investigate later.
m4 files are created, either as a file or softlink, by autoconf and thus precede the ./configure and make steps. I think it is ok to preserve these files in case of make distclean is called. *.in files are input files and are part of the distribution. .deps could be removed as this a side step for tracking deps by make.
Okay, this makes sense. Thanks for clarifying. Basically we want distclean to clear away everything except what's generated by the autogen script. This means leaving .m4 and .in files alone. I checked and the .deps directories are still created by the configure script and their contents are getting removed (correctly) by distclean. It's just the directories themselves that aren't getting removed.
Also, if I want the equivalent of a clean checkout of the repo, git actually is the correct tool for that, not make.
As per https://www.gnu.org/prep/standards/html_node/Standard-Targets.html,
make distclean
should purge all the build files generated by both the configure and build steps, but after running it some files still remain. I'm not yet familiar enough with automake to know why this is happening. For nowgit clean -fdX
(note the capitalized X) is working fine, but I'm creating this issue so I can come back and investigate later.Here are the specific files it's missing:
The text was updated successfully, but these errors were encountered: