Skip site navigation (1) Skip section navigation (2)

Re: Patch for building docs in a different directory

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Ian Lance Taylor <ian(at)airs(dot)com>
Cc: <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Patch for building docs in a different directory
Date: 2001-03-25 08:44:04
Message-ID: Pine.LNX.4.30.0103251042480.941-100000@peter.localdomain (view raw or flat)
Thread:
Lists: pgsql-patches
Ian Lance Taylor writes:

> I normally build in a directory other than the source directory.  When
> I tried to build the documentation that way, it failed.  This patch,
> against today's CVS sources, fixes the problem.

Done

>
> Ian
>
> Index: src/Makefile
> ===================================================================
> RCS file: /home/projects/pgsql/cvsroot/pgsql/doc/src/Makefile,v
> retrieving revision 1.16
> diff -u -r1.16 Makefile
> --- src/Makefile	2001/02/17 16:47:57	1.16
> +++ src/Makefile	2001/03/24 22:05:27
> @@ -43,17 +43,17 @@
>  programmer.tar:
>  	$(MAKE) -C sgml clean
>  	$(MAKE) -C sgml programmer.html
> -	cd sgml && $(TAR) -cf ../$@ $(TAREXCLUDE) *.html -C ../graphics catalogs.gif connections.gif
> +	cd sgml && $(TAR) -cf ../$@ $(TAREXCLUDE) *.html -C `cd $(srcdir); /bin/pwd`/graphics catalogs.gif connections.gif

`cd $(srcdir) && pwd` would be the more conservative approach.

-- 
Peter Eisentraut      peter_e(at)gmx(dot)net       http://yi.org/peter-e/


In response to

pgsql-patches by date

Next:From: Bruce MomjianDate: 2001-03-25 16:17:38
Subject: Re: Patch to add cursor support to PL/pgSQL
Previous:From: Ian Lance TaylorDate: 2001-03-25 01:24:17
Subject: Patch to add cursor support to PL/pgSQL

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group