From: Martin Mares Date: Sun, 25 May 2008 16:38:00 +0000 (+0200) Subject: Added a rule for installing config files from sub-directories. X-Git-Tag: holmes-import~446 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=c0f94dfdb71992f4cb2ccdb2ae577d4fcd35948f;p=libucw.git Added a rule for installing config files from sub-directories. This will be useful for out-of-tree users of our makefile system. --- 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: