1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2026-01-01 01:41:18 +01:00

make help: show generate-Makefile.ci

generate-Makefile.ci is the only target interesting to the user containing uppercase and a dot.
Instead of matching all such targets with sed, generate-Makefile.ci is matched explicitly, to avoid showing internal targets.
This commit is contained in:
Mikolai Gütschow 2023-12-15 10:37:46 +01:00
parent 208790a5f1
commit 292393c7e7
No known key found for this signature in database
GPG Key ID: 943E2F37AA659AD5

View File

@ -1031,7 +1031,8 @@ ifneq (, $(filter all flash, $(if $(MAKECMDGOALS), $(MAKECMDGOALS), all)))
endif
help:
@$(MAKE) -qp | sed -ne 's/\(^[a-z][a-z_-]*\):.*/\1/p' | sort | uniq
# filter all targets starting with lowercase and containing lowercase letters, hyphens, or underscores; explicitly include generate-Makefile.ci
@$(MAKE) -qp | sed -ne 's/\(^[a-z][a-z_-]*\|generate-Makefile.ci\):.*/\1/p' | sort -u
ifeq (iotlab-m3,$(BOARD))
ifneq (,$(filter iotlab-%,$(MAKECMDGOALS)))