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  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  2025  <2026 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  2025  <2026
<== Date ==> <== Thread ==>

Subject: Create record name manifest during build
From: David Bracey via Tech-talk <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Thu, 23 Jul 2026 20:12:24 +0000
Some of our IOC projects would like to use macro substitutions at their dbLoadRecords invocations in st.cmd:

    dbLoadRecords("${EPICS_IOCTOPS}/${IOCDIR}/db/MyRecords.db, “P=XYZ”)

This means that the *.db files created by the build will have incompletely substituted record names after the build completes.

We have tooling that scrapes record names from the build-product *.db files, but the above would cause it to not see the final record names.

I would like to have the build create a manifest file that contains the fully substituted record names, basically by using grep, awk, etc. to parse the source db filename/path and the substitution tokens, and then call the perl script that does the substitutions, producing some file that is just a list of the fully substituted record names.

However, I don’t know how to make an EPICS Makefile do such an arbitrary thing.  

May I please get some guidance as to a smart way to do this?

Dave Bracey
Fermi National Accelerator Laboratory


Replies:
Re: Create record name manifest during build Mark Rivers via Tech-talk

Navigate by Date:
Prev: Re: Modbus Module issue Gabriel Fedel via Tech-talk
Next: Re: Create record name manifest during build Mark Rivers via Tech-talk
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  2025  <2026
Navigate by Thread:
Prev: Re: Modbus Module issue Luis Alberto De Sousa Moreira via Tech-talk
Next: Re: Create record name manifest during build Mark Rivers via Tech-talk
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  2025  <2026
ANJ, 25 Jul 2026 · Home · News · About · Talk · Base · Modules · Extensions ·
· Distributions · Download · Documents · Links · Licensing ·