meso-web

Sources of the |Méso|Star> website
git clone git://git.meso-star.fr/meso-web.git
Log | Files | Refs | README | LICENSE

commit e401b649ba803dc2f03cd607ae2ac44994112047
parent bf607fd8ae729da5b7908b6988c3b1840562d226
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Wed, 27 Aug 2025 16:37:12 +0200

Make the clean target smarter

Do not delete files inferred from all shell scripts, but only those
generated by "shmtl" scripts.

Diffstat:
MMakefile | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -32,6 +32,7 @@ default: build build clean distclean lint install: hooks index @$(MAKE) -f.hooks -f.index -fMakefile $@__ \ HTML=" $$($(SHELL) ./scripts/list.sh html | tr '\n' ' ')" \ + SHTML="$$($(SHELL) ./scripts/list.sh shtml | tr '\n' ' ')" \ HOOK=" $$($(SHELL) ./scripts/list.sh hook | tr '\n' ' ')" \ SH=" $$($(SHELL) ./scripts/list.sh shell | tr '\n' ' ')" @@ -43,7 +44,7 @@ build__: $(HTML) $(HOOK:.sh=.hook) clean__: rm -f .hooks rm -f $(HTML) - rm -f $(SH:.sh=.md) + rm -f $(SHTML:.sh=.md) distclean__: clean__