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:gan...@narod.ru

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to