Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Feb 2023 15:31:49 GMT
From:      Sergio Carlavilla Delgado <carlavilla@FreeBSD.org>
To:        doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org
Subject:   git: 02a9f38f18 - main - Warn users that 'make run' should be used on subdirectories
Message-ID:  <202302171531.31HFVnHp025625@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by carlavilla:

URL: https://cgit.FreeBSD.org/doc/commit/?id=02a9f38f18db8c0465214ac2bc3a1f5337786610

commit 02a9f38f18db8c0465214ac2bc3a1f5337786610
Author:     Andrey Portnoy <aportnoy@fastmail.com>
AuthorDate: 2023-02-17 15:30:44 +0000
Commit:     Sergio Carlavilla Delgado <carlavilla@FreeBSD.org>
CommitDate: 2023-02-17 15:30:44 +0000

    Warn users that 'make run' should be used on subdirectories
    
    PR:             269540
---
 Makefile | 3 +++
 1 file changed, 3 insertions(+)

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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302171531.31HFVnHp025625>