[gmime/gmime-2-4] Remove pdf tutorial rules



commit ef9d2aa1082e06388b3793a1860adddb21d1e119
Author: Jeffrey Stedfast <fejj gnome org>
Date:   Sun Jan 8 11:42:09 2012 -0500

    Remove pdf tutorial rules

 configure.in              |    3 +--
 docs/tutorial/Makefile.am |   15 ++-------------
 2 files changed, 3 insertions(+), 15 deletions(-)
---
diff --git a/configure.in b/configure.in
index d53e09a..8e64cee 100644
--- a/configure.in
+++ b/configure.in
@@ -132,8 +132,7 @@ dnl ************************************
 
 GTK_DOC_CHECK([1.8])
 
-AC_CHECK_PROG([DB2HTML], [db2html docbook2html], true, false)
-AC_CHECK_PROG([DB2PDF], [db2pdf docbook2pdf], true, false)
+AC_PATH_PROGS([DB2HTML], [db2html docbook2html])
 AM_CONDITIONAL(HAVE_DOCBOOK, $DB2HTML)
 
 dnl NOTE: We need to use a separate automake conditional for this
diff --git a/docs/tutorial/Makefile.am b/docs/tutorial/Makefile.am
index 801e127..71d70be 100644
--- a/docs/tutorial/Makefile.am
+++ b/docs/tutorial/Makefile.am
@@ -1,4 +1,4 @@
-.PHONY: html pdf
+.PHONY: html
 
 EXTRA_DIST = gmime-tut.sgml
 
@@ -12,18 +12,7 @@ if HAVE_DOCBOOK
 	fi
 else
 	echo "***"
-	echo "*** Warning: HTML version of the tutorial not built"
-	echo "***"
-endif
-
-pdf:
-if HAVE_DOCBOOK
-	if test -w $(srcdir); then \
-	  (cd $(srcdir); $(DB2PDF) gmime-tut.sgml); \
-	fi
-else
-	echo "***"
-	echo "*** Warning: Pdf version of the tutorial not built"
+	echo "*** Warning: Tutorial not built"
 	echo "***"
 endif
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]