Overwrite configure/RELEASE

The current scripts append the line

-include $(TOP)/../RELEASE.local

at the end of the configure/RELEASE file (if needed).
While this works for most EPICS modules, there is one drawback:

Definitions like
SUPPORT=/myfavorite/build/server
are not allways overwritten (better say undefined).

Fix this and create a configure/RELEASE file which is the same
for all EPICS modules.
Simply overwrite configure/RELEASE with what we want.

Thanks to the EPICS community for this suggestion
This commit is contained in:
Torsten Bögershausen
2020-02-12 11:15:25 +01:00
parent 94744c9a8f
commit aee11f266b

View File

@@ -182,7 +182,7 @@ add_dependency() {
release=$CACHEDIR/$dirname-$TAG/configure/RELEASE
if [ -e $release ]
then
grep -q "include \$(TOP)/../RELEASE.local" $release || echo "-include \$(TOP)/../RELEASE.local" >> $release
echo "-include \$(TOP)/../RELEASE.local" > $release
fi
fi
# run hook