aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Portnoy <aportnoy@fastmail.com>2023-02-17 15:30:44 +0000
committerSergio Carlavilla Delgado <carlavilla@FreeBSD.org>2023-02-17 15:30:44 +0000
commit02a9f38f18db8c0465214ac2bc3a1f5337786610 (patch)
tree49533c5d08ba4229548cd5f5088d217e6bbd91f5
parent15d6d76b0fa4344929b56801e2305dc852195c05 (diff)
downloaddoc-02a9f38f18db8c0465214ac2bc3a1f5337786610.tar.gz
doc-02a9f38f18db8c0465214ac2bc3a1f5337786610.zip
Warn users that 'make run' should be used on subdirectories
PR: 269540
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 699f314739..9b8092079d 100644
--- a/Makefile
+++ b/Makefile
@@ -18,4 +18,7 @@ SUBDIR+= website
SUBDIR_PARALLEL= yes
+run:
+ @(echo The 'run' target is only valid in a subdirectory; exit 1)
+
.include <bsd.subdir.mk>