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=) ; + } +}