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

Re: Documentation and explanatory diagrams

From: Chris Browne <cbbrowne(at)acm(dot)org>
To: pgsql-docs(at)postgresql(dot)org
Subject: Re: Documentation and explanatory diagrams
Date: 2010-07-05 15:34:33
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-docs
bruce(at)momjian(dot)us (Bruce Momjian) writes:
> Marc G. Fournier wrote:
>> On Fri, 2 Jul 2010, Tom Lane wrote:
>> > Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:
>> >> Excerpts from Peter Eisentraut's message of jue jul 01 21:52:00 -0400 2010:
>> >>> Is there something that makes installing dia more challenging than the
>> >>> other documentation build tools?
>> >
>> >> Err, I dunno -- it's just an apt-get away for me, but what will Tom say
>> >> when it doesn't work on his ancient HP-UX 10.20 system?
>> >
>> > I don't try to build the docs on that box anyway --- it does have
>> > openjade but such an old version that they don't build.  In practice
>> > building the docs already takes much more modern infrastructure than
>> > compiling the source code; and besides there are many fewer people
>> > who care about doing it.
>> >
>> > A more interesting question is whether Marc can install a working
>> > version of dia on whatever he uses to wrap the tarballs.
>> that shouldn't be an issue ... Peter runs an update every 3 hours on that 
>> machine right now as it is ...
> OK, everyone seems to like requiring dia.  I wasn't sure how popular dia
> was.  One hack solution to allow builds without dia would be to create a
> Makefile rule that creates empty PNG files to match the dia files.
> Can someone provide the command-line to build the PNG files from the DIA
> files?

Here's a pretty suitable Makefile rule:
    %.png : %.dia; dia --export=$@ $<
output = ("cbbrowne" "@" "")
HEADLINE: Suicidal twin kills sister by mistake! 

In response to

pgsql-docs by date

Next:From: Balkrishna SharmaDate: 2010-07-05 17:00:44
Subject: Change to 'timing on' globally
Previous:From: Robert HaasDate: 2010-07-05 14:53:36
Subject: Re: Documentation and explanatory diagrams

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