Re: [HACKERS] Is postgres.gif missing in cvs? - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: [HACKERS] Is postgres.gif missing in cvs?
Date
Msg-id 200712141321.lBEDLd705456@momjian.us
Whole thread Raw
Responses Re: [HACKERS] Is postgres.gif missing in cvs?
List pgsql-patches
> You need to say "make postgres-US.pdf" or -A4.  The .gif file is coming
> from make's default rules.  Perhaps we should provide a real target
> matching postgres.pdf and error out with a helpful message as this isn't
> the first time people have been bitten by that change.

I have applied the attached patch to give a helpful message if you try
to create postgres.ps or postgres.pdf.

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

  + If your life is a hard drive, Christ can be your backup. +
Index: doc/src/sgml/Makefile
===================================================================
RCS file: /cvsroot/pgsql/doc/src/sgml/Makefile,v
retrieving revision 1.102
diff -c -c -r1.102 Makefile
*** doc/src/sgml/Makefile    5 Dec 2007 10:06:08 -0000    1.102
--- doc/src/sgml/Makefile    14 Dec 2007 13:18:58 -0000
***************
*** 161,169 ****
--- 161,175 ----
      jadetex $<

  # PostScript from TeX
+ postgres.ps:
+     $(error Use 'gmake postgres-US.ps' or 'gmake postgres-A4.ps')
+
  %.ps: %.dvi
      dvips -o $@ $<

+ postgres.pdf:
+     $(error Use 'gmake postgres-US.pdf' or 'gmake postgres-A4.pdf')
+
  %.pdf: %.tex-pdf
      @rm -f $*.aux $*.log $*.out
  # multiple runs are necessary to create proper intra-document links

pgsql-patches by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: result of convert_to is bytea
Next
From: Peter Eisentraut
Date:
Subject: Re: [HACKERS] Is postgres.gif missing in cvs?