Building PDF documentation

Started by Bruce Momjianabout 16 years ago8 messagesdocs
Jump to latest
#1Bruce Momjian
bruce@momjian.us

I have determined that the HTML documentation must be built before any
of the PDF makefile targets are valid, so I have applied the attached
documentation patch to mention this.

--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

Attachments:

/rtmp/difftext/x-diffDownload+3-3
#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Bruce Momjian (#1)
Re: Building PDF documentation

Bruce Momjian <bruce@momjian.us> writes:

I have determined that the HTML documentation must be built before any
of the PDF makefile targets are valid, so I have applied the attached
documentation patch to mention this.

Really? It seems to work for me without that. What do you observe
to go wrong?

regards, tom lane

#3Bruce Momjian
bruce@momjian.us
In reply to: Tom Lane (#2)
Re: Building PDF documentation

Tom Lane wrote:

Bruce Momjian <bruce@momjian.us> writes:

I have determined that the HTML documentation must be built before any
of the PDF makefile targets are valid, so I have applied the attached
documentation patch to mention this.

Really? It seems to work for me without that. What do you observe
to go wrong?

Sure, here it is:

$ gmake clean
rm -f INSTALL HISTORY regress_README
rm -f INSTALL.html HISTORY.html regress_README.html
rm -f *.rtf *.tex-ps *.tex-pdf *.dvi *.aux *.log *.ps *.pdf *.out *.fot
rm -f HTML.index bookindex.sgml version.sgml features-supported.sgml
features-unsupported.sgml
rm -f postgres.xml htmlhelp.hhp toc.hhc index.hhk *.fo
rm -f *.texixml *.texi *.info db2texi.refs

$ gmake postgres.pdf
Makefile:172: *** Invalid target; use postgres-A4.pdf or
postgres-US.pdf as targets. Stop.

$ gmake postgres-A4.pdf
gmake: *** No rule to make target `postgres-A4.pdf'. Stop.

--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

#4Tom Lane
tgl@sss.pgh.pa.us
In reply to: Bruce Momjian (#3)
Re: Building PDF documentation

Bruce Momjian <bruce@momjian.us> writes:

Tom Lane wrote:

Really? It seems to work for me without that. What do you observe
to go wrong?

$ gmake postgres-A4.pdf
gmake: *** No rule to make target `postgres-A4.pdf'. Stop.

Works for me ... sure you've got a clean copy of the makefile?

regards, tom lane

#5Bruce Momjian
bruce@momjian.us
In reply to: Tom Lane (#4)
Re: Building PDF documentation

Tom Lane wrote:

Bruce Momjian <bruce@momjian.us> writes:

Tom Lane wrote:

Really? It seems to work for me without that. What do you observe
to go wrong?

$ gmake postgres-A4.pdf
gmake: *** No rule to make target `postgres-A4.pdf'. Stop.

Works for me ... sure you've got a clean copy of the makefile?

Wow, that is odd then. I pulled down a new copy of CVS, ran configure,
and got the same result:

$ gmake postgres.pdf
Makefile:172: *** Invalid target; use postgres-A4.pdf or
postgres-US.pdf as targets. Stop.
$ gmake postgres-A4.pdf
gmake: *** No rule to make target `postgres-A4.pdf'. Stop.

My gmake is version 3.78.1.

--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

#6Tom Lane
tgl@sss.pgh.pa.us
In reply to: Bruce Momjian (#5)
Re: Building PDF documentation

Bruce Momjian <bruce@momjian.us> writes:

Wow, that is odd then. I pulled down a new copy of CVS, ran configure,
and got the same result:

$ gmake postgres.pdf
Makefile:172: *** Invalid target; use postgres-A4.pdf or
postgres-US.pdf as targets. Stop.
$ gmake postgres-A4.pdf
gmake: *** No rule to make target `postgres-A4.pdf'. Stop.

My gmake is version 3.78.1.

Hmm. Might be time to get something a shade less creaky. It works for
me with gmake 3.79.1, released in 2000.

regards, tom lane

#7Peter Eisentraut
peter_e@gmx.net
In reply to: Tom Lane (#6)
Re: Building PDF documentation

On fre, 2010-01-22 at 12:12 -0500, Tom Lane wrote:

Bruce Momjian <bruce@momjian.us> writes:

Wow, that is odd then. I pulled down a new copy of CVS, ran configure,
and got the same result:

$ gmake postgres.pdf
Makefile:172: *** Invalid target; use postgres-A4.pdf or
postgres-US.pdf as targets. Stop.
$ gmake postgres-A4.pdf
gmake: *** No rule to make target `postgres-A4.pdf'. Stop.

My gmake is version 3.78.1.

Hmm. Might be time to get something a shade less creaky. It works for
me with gmake 3.79.1, released in 2000.

Bruce and I had a chat about this and agreed to raise the "recommended"
make version to 3.79.1, rather than hunting down this issue.

#8Bruce Momjian
bruce@momjian.us
In reply to: Peter Eisentraut (#7)
Re: Building PDF documentation

Peter Eisentraut wrote:

On fre, 2010-01-22 at 12:12 -0500, Tom Lane wrote:

Bruce Momjian <bruce@momjian.us> writes:

Wow, that is odd then. I pulled down a new copy of CVS, ran configure,
and got the same result:

$ gmake postgres.pdf
Makefile:172: *** Invalid target; use postgres-A4.pdf or
postgres-US.pdf as targets. Stop.
$ gmake postgres-A4.pdf
gmake: *** No rule to make target `postgres-A4.pdf'. Stop.

My gmake is version 3.78.1.

Hmm. Might be time to get something a shade less creaky. It works for
me with gmake 3.79.1, released in 2000.

Bruce and I had a chat about this and agreed to raise the "recommended"
make version to 3.79.1, rather than hunting down this issue.

Agreed. I have reverted the doc mention about HTML being required
first, and bumped up the required gmake version to 3.79.1; patch
attached.

--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

Attachments:

/rtmp/difftext/x-diffDownload+5-5