From 34a7d632dce1bf30343130c091182eaa75b7d981 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Thu, 15 May 2008 12:33:31 +0200 Subject: [PATCH] Teach the build system how to preprocess configs from non-deafult locations. --- build/Makebottom | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build/Makebottom b/build/Makebottom index b6f716e..90ff8c6 100644 --- a/build/Makebottom +++ b/build/Makebottom @@ -47,6 +47,11 @@ run/cf/%: $(s)/cf/% $(o)/config.mk $(s)/build/genconf $(M)CF $< $(Q)$(s)/build/genconf $< $@ $(o)/config.mk +$(o)/%.cf: $(s)/%.cf + $(M)CF $< + $(Q)$(s)/build/genconf $< $@ $(o)/config.mk + $(Q)cp $@ run/cf/$(basename $(@F)) + # Rules for libraries %.a: -- 2.39.2