From: Martin Mares Date: Thu, 15 May 2008 10:33:31 +0000 (+0200) Subject: Teach the build system how to preprocess configs from non-deafult locations. X-Git-Tag: python-dummy-working~194 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=34a7d632dce1bf30343130c091182eaa75b7d981;p=moe.git Teach the build system how to preprocess configs from non-deafult locations. --- 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: