1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 <2012> 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 <2012> 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: using Makefile wildcard for installing templates, substitutions |
From: | Michael Davidsaver <[email protected]> |
To: | [email protected] |
Date: | Wed, 16 May 2012 09:42:30 -0400 |
Try DB += $(wildcard ../*.template) $(wildcard ../*.substitutions)Keep in mind that the rules for a particular directory are actually executed in the O.$(T_A) subdirectory.
Michael On 5/16/2012 5:24 AM, Hinko Kocevar wrote:
Hi,I'm trying to add bunch of template and substitution files to DB variable inside my <app>/Db/Makefile, for them to be installed to db folder.If I list each file separately template and substitution files are installed - I would expect the same using $(wildcard *.template) and $(wildcard *.substitutions) directives, but to no avail - the files are not installed into db folder.WORKS: DB += foo.template foo.substitutions bar.template bar.substitutions DOES NOT WORK: DB += $(wildcard *.template) $(wildcard *.substitutions)I've checked the $(DB) after the calls to wildcard, and all the files seem to be listed there, but they do not get installed.Thank you!