* Andreas Otto wrote on Wed, Oct 21, 2009 at 08:04:15AM CEST: > Am Dienstag 20 Oktober 2009 21:07:35 schrieb Ralf Wildenhues: > > * Andreas Otto wrote on Tue, Oct 20, 2009 at 08:53:14AM CEST: > > > I use the flag file "Net-Msgque/.distclean" to distinguish the VPATH > > > build from the non VPATH build. this flag is only set in the directory I > > > copied from the source into the build tree and clean act on this flag > > > > OK, but then 'make distclean' wouldn't remove the files it should > > remove, if source and build tree coincide, no?
> $(PERLMAKEFILE): $(PERLDEPEND) Makefile.am > -test ! -d Net-Msgque && cp -pr $(srcdir)/Net-Msgque . && \ > chmod -R u+w Net-Msgque && touch Net-Msgque/.distclean > cd Net-Msgque && @PERL@ Makefile.PL $(PERLCONFIG) > > non VPATH -> build-tree == source-tree > => no copy and no flag "Net-Msgque.distclean" > => no distclean remove > > VPATH -> build-tree != source-tree > => copy from Net-Msgque done and flag "Net-Msgque/.distclean" set > => distclean remove performed > > is this does not explain your problem > than I don't understand what you mean Ah, ok, I didn't realize that you weren't copying those files in the non-VPATH case. That looks good then. Cheers, Ralf