From d54ce518b32b2b0ef15955a72ef1105c818420d0 Mon Sep 17 00:00:00 2001
From: Bruce Momjian <bruce@momjian.us>
Date: Sat, 15 Dec 2007 10:28:21 +0000
Subject: [PATCH] Use clearer error message for gmake postgres.pdf:

  Makefile:171: *** Invalid target;  use postgres-A4.pdf or postgres-US.pdf as targets.  Stop.
---
 doc/src/sgml/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/doc/src/sgml/Makefile b/doc/src/sgml/Makefile
index 236f9079eca..7fdbb860c4b 100644
--- a/doc/src/sgml/Makefile
+++ b/doc/src/sgml/Makefile
@@ -2,7 +2,7 @@
 #
 # PostgreSQL documentation makefile
 #
-# $PostgreSQL: pgsql/doc/src/sgml/Makefile,v 1.104 2007/12/14 14:11:02 petere Exp $
+# $PostgreSQL: pgsql/doc/src/sgml/Makefile,v 1.105 2007/12/15 10:28:21 momjian Exp $
 #
 #----------------------------------------------------------------------------
 
@@ -162,13 +162,13 @@ JADE.tex.call = $(JADE) $(JADEFLAGS) $(SGMLINCLUDE) $(CATALOG) -d $(srcdir)/styl
 
 # PostScript from TeX
 postgres.ps:
-	$(error Use "$(MAKE) postgres-A4.ps" or "$(MAKE) postgres-US.ps")
+	$(error Invalid target;  use postgres-A4.ps or postgres-US.ps as targets)
 	
 %.ps: %.dvi
 	dvips -o $@ $<
 
 postgres.pdf:
-	$(error Use "$(MAKE) postgres-A4.pdf" or "$(MAKE) postgres-US.pdf")
+	$(error Invalid target;  use postgres-A4.pdf or postgres-US.pdf as targets)
 	
 %.pdf: %.tex-pdf
 	@rm -f $*.aux $*.log $*.out
-- 
GitLab