[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r17377 - trunk

From: Malcolm Rowe <malcolm_at_farside.org.uk>
Date: 2005-11-16 10:18:15 CET

On Tue, Nov 15, 2005 at 06:36:49PM -0600, maxb@tigris.org wrote:
> --- trunk/Makefile.in (original)
> +++ trunk/Makefile.in Tue Nov 15 18:36:48 2005

> +extraclean-swig-headers: clean-swig-headers

I know you didn't add this rule, but shouldn't this be invoked by 'make
extraclean'? From what I can see, it isn't. (Ditto clean-swig-headers
and 'make clean').

> clean-swig-rb:
> rm -rf $(SWIG_RB_DIR)/test/repos $(SWIG_RB_DIR)/test/wc
> + if test $(abs_srcdir) != $(abs_builddir); then \
> + rm -f $(SWIG_RB_DIR)/*.c; \
> + fi
> for d in $(SWIG_RB_DIR) $(SWIG_RB_DIR)/libsvn_swig_ruby; \
> do \
> cd $$d; \
> rm -rf *.lo *.la *.o .libs; \
> done

> +extraclean-swig-rb: clean-swig-rb
> + rm -f $(top_srcdir)/subversion/bindings/swig/ruby/*.c

If I'm understanding this right, the SWIG clean-* rules are performing
the equivalent of the extraclean-* rules if you run them in a VPATH build.
Why is that?

(and why are we using $SWIG_RB_DIR in one place and a hard-coded srcdir
path in another?) Have I just completely misunderstood what's going
on here?

Regards,
Malcolm

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Nov 16 10:19:12 2005

This is an archived mail posted to the Subversion Dev mailing list.