From f888f11f25bd4b758a269e0e0669f15cec614147 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Mon, 18 Mar 2024 05:00:33 -0500 Subject: [PATCH] Emit make test_help and make test_install targets, only skip command targets. (Because "make help" and "make install" have existing meanings, and thus can't build those standalone commands.) --- scripts/genconfig.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/genconfig.sh b/scripts/genconfig.sh index 52a9c259..5d46f70c 100755 --- a/scripts/genconfig.sh +++ b/scripts/genconfig.sh @@ -77,11 +77,11 @@ WORKING= PENDING= EXAMPLE= toys toys/*/*.c | ( while IFS=":" read FILE NAME do + echo -e "test_$NAME:\n\tscripts/test.sh $NAME\n" [ "$NAME" == help ] && continue [ "$NAME" == install ] && continue [ "$NAME" == sh ] && FILE="toys/*/*.c" echo -e "$NAME: $FILE *.[ch] lib/*.[ch]\n\tscripts/single.sh $NAME\n" - echo -e "test_$NAME:\n\tscripts/test.sh $NAME\n" [ "${FILE/example//}" != "$FILE" ] && EXAMPLE="$EXAMPLE $NAME" || [ "${FILE/pending//}" != "$FILE" ] && PENDING="$PENDING $NAME" || WORKING="$WORKING $NAME" -- 2.39.2