From c0f94dfdb71992f4cb2ccdb2ae577d4fcd35948f Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sun, 25 May 2008 18:38:00 +0200 Subject: [PATCH] Added a rule for installing config files from sub-directories. This will be useful for out-of-tree users of our makefile system. --- build/Makebottom | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build/Makebottom b/build/Makebottom index a6a4ac63..bf9a49e9 100644 --- a/build/Makebottom +++ b/build/Makebottom @@ -43,6 +43,11 @@ run/cf/%: $(s)/cf/% $(o)/config.mk $(s)/build/genconf $(M)CF $< $(Q)$(s)/build/genconf $< $@ $(o)/config.mk +$(o)/%.cf: $(s)/%.cf $(o)/config.mk $(s)/build/genconf + $(M)CF $< + $(Q)$(s)/build/genconf $< $@ $(o)/config.mk + $(Q)cp $@ run/cf/$(basename $(@F)) + # Rules for libraries %.a: -- 2.39.2