[fpc-devel] Recent changes break distclean for utils

Maxim Ganetsky ganmax at narod.ru
Fri Aug 18 00:48:29 CEST 2023

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.
> I tried changing the line to :
> CLEAN_TARGET_DIRS=$(subst /Makefile, ,$(wildcard */Makefile))
> which is the same as what is used for source/packages but then it fails 
> because the Makefile in the sim_pasc folder doesn’t have a distclean target.
> For now I’ve resolved by adding the list of target folders directly to 
> CLEAN_TARGET_DIRS but hopefully you have a better solution.

Best regards,
  Maxim Ganetsky                  mailto:ganmax at narod.ru

More information about the fpc-devel mailing list