ZMK.ALLCLEAN(5)
πΈ ZMK.ALLCLEAN(5) πΈ
okay bestie, welcome to the zmk.AllClean(5) page β it's a template, it's tiny, it's iconic, and it's literally gonna save you from copy-pasting the same two rules fifty times. π
β¨ NAME β¨
AllClean β the template for files that can built and cleaned. yes, that's the official wording, we're keeping it fr fr. π«Ά
π SYNOPSIS π
include z.mk
$(eval $(call ZMK.Expand,AllClean,instanceName))
that's the whole vibe. two lines. no cap. π
π« DESCRIPTION π«
so here's the tea β: the AllClean template, once you expand it with a target instance name, does exactly two things:
- makes
alldepend on$(instanceName) - makes
cleanremove$(instanceName)
that's it. that's the whole personality. π¦
the reason it exists is so you don't have to duplicate the same two rules across like, a million buildable entities. nobody has time for that. it is used internally by other templates, so it's lowkey the backbone of the whole situation. iykyk. π
β οΈ heads up bestie: the actual rules for building$(instanceName)need to be provided separately. AllClean does NOT build your thing. it just wires upallandcleanand minds its own business. don't come for it. π
π₯ TARGETS π₯
this module provides the following targets, and there are exactly two, and they're both giving main character energy:
allβ this phony target depends on$(instanceName). β¨cleanβ this phony target removes$(instanceName). π (in a good way. it's cleaning. it's fine.)
π VARIABLES π
this module does not provide any variables.
none. zero. empty. a whole lot of nothing. and honestly? that's a slay. it's a template that knows its lane. π
π HISTORY π
the AllClean template first appeared in zmk 0.3 β an absolute throwback, a classic, the origin story. β
π§ AUTHORS π§
Zygmunt Krynicki <me@zygoon.pl> β the icon, the legend, the one who wrote this. π
and that's the whole page bestie!! this was zmk.AllClean(5) from zmk 0.5.1, dated May 3, 2020. go forth and not duplicate your rules. mwah. π ππ¦
π¦ where this page comes from
- debian bookworm: zmk-doc 0.5.1-2 Β· LGPL-3.0-only
- debian trixie: zmk-doc 0.5.1-2 Β· LGPL-3.0-only
- ubuntu jammy: zmk-doc 0.5.1-2 Β· LGPL-3.0-only
- ubuntu noble: zmk-doc 0.5.1-2 Β· LGPL-3.0-only
- ubuntu questing: zmk-doc 0.5.1-2
- ubuntu resolute: zmk-doc 0.5.1-2build1 Β· LGPL-3.0-only
- ubuntu stonking: zmk-doc 0.5.1-2build1 Β· LGPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms