Follow-up Comment #19, bug #64571 (group make): Answering comment #16 on the use case of this feature: we are developing a Data Processing Pipeline using Make (via https://maneage.org/), and we are using a simple "list of targets" that can be produced with this feature in a script that will report the percent of targets that have been completed at any moment (our pipeline needs several hours to complete).
The script is currently using regex matching (which is not ideal as mentioned
in the first comment) over the output of Make as shown below.
make -nd --no-builtin-rules --no-builtin-variables
However, some of our Makefiles contain $(MAKE) in their recipes, so a work
around is currently necessary with version 4.4.1. After seeing this thread, we
cloned the current Make master branch (commit b3802782) and tested it on the
following minimal Makefile to confirm that it works perfectly. :-D
tt=b.fits
$(tt): a.fits
$(MAKE) -f junk.mk
a.fits:
echo "abc"
Regarding a "full post-processed make database" (for example in JSON), it
would really help us in further extending the progress and profiling reports
of our pipeline.
We are really looking forward to the next stable release of Make that includes
--print-targets.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?64571>
_______________________________________________
Mensaje enviado vía Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
