Hi, On Fri, 2012-09-21 at 08:42 +0200, Tomas Hajny wrote: > On Thu, September 20, 2012 17:30, Reinier Olislagers wrote: > > On 20-9-2012 17:25, Jonas Maebe wrote: > >> > >> On 20 Sep 2012, at 17:18, Reinier Olislagers wrote: > >> > >>> Would looking into the actual fpmake bug make sense (i.e. is it doable > >>> for mere mortals like me?) Where would I look? > >> > >> It's probably related to how the makefiles clean the packages since > >> fpmake was introduced. Pierre posted a not really clean workaround > >> recently to the core list, see below (I don't think the patch will apply > >> as is though, because the formatting was changed by the mail client). > > Thanks a lot Jonas, looks like I'll stick to adding a workaround to > > fpcup... > > Actually, I believe that looking into the fpmake bug should make more > sense and yes, I think that it should be doable for "mere mortals" since > it is written in standard (Object) Pascal rather than requiring some > Makefile wizardry.
Cleaning directories is partially the responsibility of the makefiles though - who else cleans the fpmake executables themselves? Looking at comments in packages/Makefile.fpc, the issue is apparently known. # In case of a distclean, perform an 'old'-style distclean. This to # avoid problems when the package is compiled using fpcmake prior to # running this clean using fpmake. It does not work well, though, since # the sub-directories are not cleaned at all. Thomas _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal