]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
load all subdirectories, so we don't have to manually list them developer/alandekok master
authorAlan T. DeKok <aland@freeradius.org>
Fri, 24 Jul 2026 15:25:06 +0000 (17:25 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 24 Jul 2026 15:25:06 +0000 (17:25 +0200)
main.mk

diff --git a/main.mk b/main.mk
index 65bf25589b7e9fd5c3858b15760d432735128b23..1fc1b07357087bfbbcc201d3c2e89b05ba5d66ec 100644 (file)
--- a/main.mk
+++ b/main.mk
@@ -1,5 +1,7 @@
+uniq = $(if $1,$(firstword $1) $(call uniq,$(filter-out $(firstword $1),$1)))
+
 #
 #  The tests depend on things in raddb, so we load those rules
 #  first.
 #
-SUBMAKEFILES := raddb/all.mk src/all.mk scripts/all.mk doc/all.mk
+SUBMAKEFILES := $(call uniq,raddb/all.mk $(wildcard */all.mk))