no refentry in acronyms.sgml?

Started by Alvaro Herreraover 16 years ago3 messagesdocs
Jump to latest
#1Alvaro Herrera
alvherre@2ndquadrant.com

Hi,

I just got this weird error while doing "make distprep" (doc build being
previously enabled):

osx:/pgsql/source/00head/doc/src/sgml/acronyms.sgml:3:0:E: prolog can't be omitted unless CONCUR NO and LINK EXPLICIT NO and either IMPLYDEF ELEMENT YES or IMPLYDEF DOCTYPE YES
osx:/pgsql/source/00head/doc/src/sgml/acronyms.sgml:3:0:E: no document type declaration; will parse without validation
Erro: no refentry: No refentry elements found in "Acronyms". Acronyms

I have no idea how to fix this.

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

#2Alvaro Herrera
alvherre@2ndquadrant.com
In reply to: Alvaro Herrera (#1)
Re: no refentry in acronyms.sgml?

Alvaro Herrera wrote:

osx:/pgsql/source/00head/doc/src/sgml/acronyms.sgml:3:0:E: prolog can't be omitted unless CONCUR NO and LINK EXPLICIT NO and either IMPLYDEF ELEMENT YES or IMPLYDEF DOCTYPE YES
osx:/pgsql/source/00head/doc/src/sgml/acronyms.sgml:3:0:E: no document type declaration; will parse without validation
Erro: no refentry: No refentry elements found in "Acronyms". Acronyms

I have no idea how to fix this.

After looking at this, I noticed that for some unknown reason,
postgres.xml only contained the output generated from acronyms.sgml.
After removing it, it got regenerated from the whole set of files and
"make man" started behaving normally.

I have not fooled with these files lately so I have zero idea where the
bogus postgres.xml came from.

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

#3Tom Lane
tgl@sss.pgh.pa.us
In reply to: Alvaro Herrera (#2)
Re: no refentry in acronyms.sgml?

Alvaro Herrera <alvherre@commandprompt.com> writes:

I have not fooled with these files lately so I have zero idea where the
bogus postgres.xml came from.

The dependencies in doc/src/sgml/Makefile have moved around a bit
lately, so maybe things got confused. Still, a 'make clean' should
have fixed it right up.

regards, tom lane