Thread: Re: [HACKERS] Is postgres.gif missing in cvs?
> 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
Am Freitag, 14. Dezember 2007 schrieb Bruce Momjian: > I have applied the attached patch to give a helpful message if you try > to create postgres.ps or postgres.pdf. I have corrected this to use $(MAKE) instead of gmake, because the latter might not be available. -- Peter Eisentraut http://developer.postgresql.org/~petere/
Peter Eisentraut wrote: > Am Freitag, 14. Dezember 2007 schrieb Bruce Momjian: > > I have applied the attached patch to give a helpful message if you try > > to create postgres.ps or postgres.pdf. > > I have corrected this to use $(MAKE) instead of gmake, because the latter > might not be available. Oh, yea. Changed to: $(error Use postgres-US.pdf or postgres-A4.pdf as a target) -- 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. +
Peter Eisentraut wrote: > Am Freitag, 14. Dezember 2007 schrieb Bruce Momjian: > > I have applied the attached patch to give a helpful message if you try > > to create postgres.ps or postgres.pdf. > > I have corrected this to use $(MAKE) instead of gmake, because the latter > might not be available. Ah, I see you improved it even more. Great. -- 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. +