Hello Schwern, the documentation for dist_target says that an up-to-date check for the Makefile is done, which is *not* the case if the VERSION is retrieved from the setting in Makefile.PL and not from VERSION_FROM. The patch below makes the dist creation always dependent on a current Makefile. I introduced also a dist_update_check to make the other warning appear *before* actually creating the distribution, not *after*. I also think that this warning should be turned into a die, but this is not part of this patch. Regards, Slaven --- ../../bleedperl/lib/ExtUtils/MM_Unix.pm Sat Apr 12 16:54:49 2003 +++ ExtUtils/MM_Unix.pm Sat Apr 26 11:48:50 2003 @@ -792,7 +792,9 @@ print 'Warning: Makefile possibly out of CODE return sprintf <<'MAKE_FRAG', $date_check; -dist : $(DIST_DEFAULT) +dist : dist_update_check $(DIST_DEFAULT) + +dist_update_check : $(FIRST_MAKEFILE) $(NOECHO) %s MAKE_FRAG } -- Slaven Rezic - slaven@rezic.de tktimex - project time manager http://sourceforge.net/projects/ptktools/Thread Next