Is there any way to use the list of programs to build from a Makefile.am and put it in a bash script (autotools substitution, variables, ...)?
Something like below :
Example
Makefile.am
bin_PROGRAMS = prog1 prog2 prog3
[...]
script.sh
#!/bin/bash
EXEC=@bin_PROGRAMS@ # something like this
The goal is to give this script the list of programs being built