FWIW, it *does* seem to keep the arginfo header if it already exists. It would then seem that only if the header doesn't exist already does it remove it for being an intermediate file.
On Sat, 2020-12-12 at 05:53 +0100, Remi Collet wrote: > Le 11/12/2020 à 19:16, Calvin Buckley a écrit : > > > Interestingly, it *does* seem to keep the legacy arginfo header. > > Going > > back to question #2/#4 (since the build system hasn't changed, just > > what gets made by phpize et al), running make with "-d", it appears > > GNU > > make deletes it because it's an "intermediate file". Ugh, I wonder > > if > > this is a bug in the PHP makefile infra. It'd explain why the other > > arginfo header stays. That is: > > > > [...] > > Successfully remade target file 'all'. > > Removing intermediate files... > > rm /home/calvin/src/pecl-database-ibm_db2/ibm_db2_arginfo.h > > I also encounter this once... on one project... when the generated > files were not used yet (dev phase). This stop to happen when files > are really used (don't really understand why). > > This usually not happen, and is not expected. > > > Remi > -- PECL development discussion Mailing List (https://pecl.php.net/) To unsubscribe, visit: https://www.php.net/unsub.php