EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  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  <20122013  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!



Replies:
Re: using Makefile wildcard for installing templates, substitutions Hinko Kocevar
References:
using Makefile wildcard for installing templates, substitutions Hinko Kocevar

Navigate by Date:
Prev: Problem in using synApp sunjl
Next: Re: using Makefile wildcard for installing templates, substitutions Hinko Kocevar
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: using Makefile wildcard for installing templates, substitutions Hinko Kocevar
Next: Re: using Makefile wildcard for installing templates, substitutions Hinko Kocevar
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·