aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index fecd5b0..2630dc4 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -120,6 +120,16 @@ INSTALL_EXE := $(INSTALL) -m 555
STOW := @stow@
#-------------------------------------------------------------------------
+# Range helper function. $(call range,3,6) generates the string 3 4 5
+#-------------------------------------------------------------------------
+
+range = $(shell _i=$(1); \
+ while [[ $$_i -lt $(2) ]]; do \
+ echo -n "$$_i "; \
+ ((_i = _i + 1)); \
+ done)
+
+#-------------------------------------------------------------------------
# Include subproject makefile fragments
#-------------------------------------------------------------------------