How to restore the automake project to what it looked like before running ". / configure"?

when the automake project runs . / configure , Makefile, and other related files are generated based on the target machine (the current machine). However, these files not only occupy the volume, but also contain a lot of related information about the machine. This is not conducive to the release of source code, however, in order to debug the program, compiling and running is necessary, . / configure must be executed.

so is there a tool or . / configure with appropriate parameters to clean up unnecessary files?

I have tried to search for information on the Internet, but there doesn"t seem to be much information about the automake build tool, which, if any, is mainly about how it works. Of course, it cannot be ruled out that there will still be fish out of the net.

I have also tried to read . / configure code, however, because I am not very familiar with shell, in addition, the amount of code in this file is too large, it is possible to fully understand in a short time, so my editor searches for "clean", but the word appears either in the comments or in the variable name, and the relevant content is also for the target file, binary file cleaning. There doesn"t seem to be any cleaning up of Makefile and other files.

if you have any suggestions, thank you for your reply!

Mar.09,2021

create a new .gitignore file before executing . / configure . After executing . / configure , put all the extra files in .gitignore , so that they will not be submitted to the code base

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1be900e-3192d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1be900e-3192d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?