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

Re: makefile patch.

From: Greg Stein <gstein_at_lyra.org>
Date: 2001-08-20 20:22:31 CEST

On Mon, Aug 20, 2001 at 01:21:40PM -0400, C. Scott Ananian wrote:
> The 'make doc-dvi' target is broken: it puts the .dvi files in the
> subversion root directory instead of in the same directory as the source
> .dvi file. Appended is a patch to fix this (my first patch! whee!).
>...
> --- Makefile.in 2001/08/15 00:23:24 1.27
> +++ Makefile.in 2001/08/20 17:20:14
> @@ -203,7 +203,7 @@ dist:
> $(MAKEINFO) -I `dirname $(top_srcdir)/$<` -o $@ $<
>
> .texi.dvi:
> - $(TEXI2DVI) -I `dirname $(top_srcdir)/$<` $<
> + cd `dirname $(top_srcdir)/$<` ; $(TEXI2DVI) -I . `basename $<`
>
> .texi.txt:
> $(MAKEINFO) -I `dirname $(top_srcdir)/$<` --no-headers -o $@ $<

That isn't quite right. We want the output to be in the build directory, not
the source directory. I think you'd want to cd to the build dir, then use
the -I switch to point into the source directory. The output would be
dropped there in the build dir.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:36 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.