From f8d2708e1ac018a69bc286f71ab9da2d0b5037f6 Mon Sep 17 00:00:00 2001 From: Angira Kekteeva Date: Fri, 7 Oct 2022 14:30:19 +0400 Subject: [PATCH] [#172] Makefile: Fix help regex Made it print targets with / symbol Signed-off-by: Angira Kekteeva --- help.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/help.mk b/help.mk index ab30ca9..97f2667 100644 --- a/help.mk +++ b/help.mk @@ -8,4 +8,4 @@ help: @echo '' @echo ' Targets:' @echo '' - @awk '/^#/{ comment = substr($$0,3) } comment && /^[a-zA-Z][a-zA-Z0-9._-]+ ?:/{ print " ", $$1, comment }' $(MAKEFILE_LIST) | column -t -s ':' | grep -v 'IGNORE' | sort -u + @awk '/^#/{ comment = substr($$0,3) } comment && /^[a-zA-Z][a-zA-Z0-9._/-]+ ?:/{ print " ", $$1, comment }' $(MAKEFILE_LIST) | column -t -s ':' | grep -v 'IGNORE' | sort -u