Building PDF documentation
Building PDF documentation
От:
Bruce 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 http://momjian.us
EnterpriseDB http://enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +
Index: doc/src/sgml/docguide.sgml
===================================================================
RCS file: /cvsroot/pgsql/doc/src/sgml/docguide.sgml,v
retrieving revision 1.78
diff -c -c -r1.78 docguide.sgml
*** doc/src/sgml/docguide.sgml 9 Aug 2009 22:47:59 -0000 1.78
--- doc/src/sgml/docguide.sgml 22 Jan 2010 15:48:19 -0000
***************
*** 590,596 ****
If you want to use JadeTex to produce a
! printable rendition of the documentation, you can use one of the
following commands:
--- 590,597 ----
If you want to use JadeTex to produce a
! printable rendition of the documentation, you must first build the
! HTML output as outlined above, then you can use one of the
following commands:
Re: Building PDF documentation
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Bruce Momjian 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
Re: Building PDF documentation
От:
Bruce Momjian <bruce@momjian.us>
Дата:
Tom Lane wrote: > Bruce Momjian 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 http://momjian.us EnterpriseDB http://enterprisedb.com + If your life is a hard drive, Christ can be your backup. +
Re: Building PDF documentation
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Bruce Momjian 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
Re: Building PDF documentation
От:
Bruce Momjian <bruce@momjian.us>
Дата:
Tom Lane wrote: > Bruce Momjian 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 http://momjian.us EnterpriseDB http://enterprisedb.com + If your life is a hard drive, Christ can be your backup. +
Re: Building PDF documentation
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Bruce Momjian 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
Re: Building PDF documentation
От:
Peter Eisentraut <peter_e@gmx.net>
Дата:
On fre, 2010-01-22 at 12:12 -0500, Tom Lane wrote: > Bruce Momjian 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.
Re: Building PDF documentation
От:
Bruce Momjian <bruce@momjian.us>
Дата:
Peter Eisentraut wrote:
> On fre, 2010-01-22 at 12:12 -0500, Tom Lane wrote:
> > Bruce Momjian 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 http://momjian.us
EnterpriseDB http://enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +
Index: doc/src/sgml/docguide.sgml
===================================================================
RCS file: /cvsroot/pgsql/doc/src/sgml/docguide.sgml,v
retrieving revision 1.79
diff -c -c -r1.79 docguide.sgml
*** doc/src/sgml/docguide.sgml 22 Jan 2010 15:49:29 -0000 1.79
--- doc/src/sgml/docguide.sgml 22 Jan 2010 22:48:55 -0000
***************
*** 590,597 ****
If you want to use JadeTex to produce a
! printable rendition of the documentation, you must first build the
! HTML output as outlined above, then you can use one of the
following commands:
--- 590,596 ----
If you want to use JadeTex to produce a
! printable rendition of the documentation, you can use one of the
following commands:
Index: doc/src/sgml/installation.sgml
===================================================================
RCS file: /cvsroot/pgsql/doc/src/sgml/installation.sgml,v
retrieving revision 1.338
diff -c -c -r1.338 installation.sgml
*** doc/src/sgml/installation.sgml 16 Jan 2010 20:38:54 -0000 1.338
--- doc/src/sgml/installation.sgml 22 Jan 2010 22:48:58 -0000
***************
*** 79,85 ****
gmake --version
! It is recommended to use version 3.76.1 or later.
--- 79,85 ----
gmake --version
! It is recommended to use version 3.79.1 or later.