[fpc-devel] Recent changes break distclean for utils

Michael Van Canneyt michael at freepascal.org
Fri Aug 18 09:36:21 CEST 2023



On Fri, 18 Aug 2023, Maxim Ganetsky via fpc-devel wrote:

> 16.08.2023 4:29, Garry Wood via fpc-devel пишет:
>> Hello,
>> 
>> Just letting you know that some recent changes seem to have broken “make 
>> distclean” for source/utils
>
> Please create a bug report.
>
>> Makefile.fpc in the source/utils folder contains the line:
>> 
>> CLEAN_TARGET_DIRS=$(subst /Makefile.fpc, ,$(wildcard */Makefile.fpc))
>> 
>> But a recent commit (25 July 2023) removed all the Makefile.fpc files 
>> from source/utils/* so it now finds no targets to clean.

And that is how it is supposed to be. 
The distclean is only needed at the toplevel. The rest is handled by fpmake.
So there is no need to call distclean for subdirectories, this means that
CLEAN_TARGET_DIRS must be empty.

So what is the actual problem ?

Michael.


More information about the fpc-devel mailing list