Re: "make install" now tries to build the documentation

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: "make install" now tries to build the documentation
Date: 2009-08-18 17:43:52
Message-ID: 25938.1250617432@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> On tis, 2009-08-18 at 12:17 -0400, Tom Lane wrote:
>> It happens for me on my Fedora box, but not on my HPUX box.

> Assuming no tool bugs, the only way I can see this happening is if you
> already have built the documentation. Then, make install might cause it
> to be re-built if dependencies require it.

Um, that might be it. I did what I usually do:
make distclean
cvs update
configure ...
make
make install
but now that you mention it, I might have built the docs in that
tree yesterday, and "make distclean" no longer cleans them out.
[ checks overnight backups ... ] Yup, that's it: html/ and html-stamp
were present in doc/src/sgml/ early this morning.

I could avoid the unwanted build by changing the first step to
"make maintainer-clean", but that's not tremendously satisfactory
either, given how slow it is to regenerate the derived ecpg files.

Is it sensible to split out docs installation to a separate target
"make install-docs"? Or is there some other solution?

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Stark 2009-08-18 17:48:57 Re: PQgetlength vs. octet_length()
Previous Message Michael Clark 2009-08-18 17:39:30 PQgetlength vs. octet_length()