From 36a11cceed8ccb4524463d98fdec5b689eb93200 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Sun, 11 May 2008 18:07:30 +0000 Subject: [PATCH] Automatically add subfolders with a Jamfile in 3rdparty. This allows hooking your own projects locally without having to touch this file, and have to resolve conflicts on svn up. One still must configure --enable-3rdparty of course or add this to UserBuildConfig: HAIKU_INCLUDE_3RDPARTY = 1 ; git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25455 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- 3rdparty/Jamfile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/3rdparty/Jamfile b/3rdparty/Jamfile index 1286d38363..119bad1e95 100644 --- a/3rdparty/Jamfile +++ b/3rdparty/Jamfile @@ -1,3 +1,10 @@ SubDir HAIKU_TOP 3rdparty ; -SubInclude HAIKU_TOP 3rdparty mmu_man ; +# automatically pick any subdir that contains a Jamfile +# this should allow hooking projects locally +# without having to touch this file and get conflicts when it is updated. +for subdir in [ GLOB $(SUBDIR) : [^.]* ] { + if [ GLOB $(subdir:G=) : Jamfile ] { + SubInclude HAIKU_TOP 3rdparty $(subdir:D=) ; + } +}