make mrproper as a stronger make clean is always quite funny to me.
Conversation
Notices
-
Embed this notice
Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Tuesday, 18-Mar-2025 00:50:58 JST Haelwenn /элвэн/ :triskell:
-
Embed this notice
Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Tuesday, 18-Mar-2025 00:53:23 JST Haelwenn /элвэн/ :triskell:
@novenary Typically make clean typically only clean compiled code and make mrproper also cleans generated code.
-
Embed this notice
[GRLC] (^._.^)ノ :neocat_flag_sapphic: (novenary@akko.wtf)'s status on Tuesday, 18-Mar-2025 00:53:24 JST [GRLC] (^._.^)ノ :neocat_flag_sapphic:
@lanodan why does it even need to exist anyway -
Embed this notice
Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Tuesday, 18-Mar-2025 00:58:25 JST Haelwenn /элвэн/ :triskell:
@navi @novenary Super-duper clean is usually make distclean which also throws away the configuration, which is typically not what you want.
While make mrproper just feels like it exists because codegen can be quite slow (specially on old computers and/or large codebases).
-
Embed this notice
anna (navi@social.vlhl.dev)'s status on Tuesday, 18-Mar-2025 00:58:27 JST anna
@lanodan @novenary i honestly would expect clean to clean both
usually when i type `make clean` i want a *fully* clean build after -
Embed this notice
Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Tuesday, 18-Mar-2025 01:27:41 JST Haelwenn /элвэн/ :triskell:
@navi @novenary Pretty sure mrproper is older than Linux though.
At least I dive in codebases from early 90's to late 80's and been finding it at random in those, sometimes making me wonder who first created that convention.
-
Embed this notice
anna (navi@social.vlhl.dev)'s status on Tuesday, 18-Mar-2025 01:27:43 JST anna
# make clean Delete most generated files # Leave enough to build external modules # make mrproper Delete the current configuration, and all generated files oh, it’s about leaving just the files needed to build modules, that makes more sense to me
-
Embed this notice
Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Tuesday, 18-Mar-2025 01:30:24 JST Haelwenn /элвэн/ :triskell:
@novenary @navi make dist is a thing in GNU software and most software using autotools but I kind of hate it's existence because to me tarballs ought to purely be git/mercurial/… snapshots.
(Specially in light of the Jia Tan exploit) -
Embed this notice
[GRLC] (^._.^)ノ :neocat_flag_sapphic: (novenary@akko.wtf)'s status on Tuesday, 18-Mar-2025 01:30:25 JST [GRLC] (^._.^)ノ :neocat_flag_sapphic:
@lanodan @navi distclean honestly feels a bit backwards, ideally you'd have a dist target instead generating your tarball
-
Embed this notice