Skip to content

Commit

Permalink
Use .inc.db or .inc.req for all included files.
Browse files Browse the repository at this point in the history
This ensures that Make will treat them as dependencies and rebuild the
generate .db and .req files when one of the source files changes.
  • Loading branch information
smarsching committed Apr 14, 2023
1 parent 2225503 commit c6fab7d
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 2 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions mrfApp/Db/generate_evr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ for i in `seq 0 1`; do
done

if [ "${form_factor}" = "mtca" -a "${series}" = "300" ]; then
cat "${db_dir}/evr-interrupts-mmap.${extension}"
cat "${db_dir}/evr-interrupts-mmap.inc.${extension}"
write_all_pvs+=("\$(P)\$(R)Intrnl:WriteAll:IRQ")
cat "${db_dir}/evr-mtca-300.inc.${extension}"
for i in `seq 0 7`; do
Expand Down Expand Up @@ -320,7 +320,7 @@ if [ "${form_factor}" = "mtca" -a "${series}" = "300" ]; then
fi

if [ "${form_factor}" = "vme" -a "${series}" = "230" ]; then
cat "${db_dir}/evr-interrupts-udp-ip.${extension}"
cat "${db_dir}/evr-interrupts-udp-ip.inc.${extension}"
write_all_pvs+=("\$(P)\$(R)Intrnl:WriteAll:IRQ")
cat "${db_dir}/evr-vme-230-common.inc.${extension}"
for i in `seq 0 2`; do
Expand Down

0 comments on commit c6fab7d

Please sign in to comment.