Description: backport install-docpdf target
 Backport upstream change 9570: add an install-docpdf target to the Makefile.
Author: Bill Allombert <ballombe@debian.org>
Origin: upstream SVN r9570
Bug-Debian: http://bugs.debian.org/361431
Last-Update: 2009-11-26
Index: pari-2.3.5~pre1/config/Makefile.SH
===================================================================
--- pari-2.3.5~pre1.orig/config/Makefile.SH	2009-12-31 14:11:33.000000000 +0100
+++ pari-2.3.5~pre1/config/Makefile.SH	2009-12-31 14:11:49.000000000 +0100
@@ -375,6 +375,14 @@
 	   \$(INSTALL_DATA) $desc/PARI/822.pm \$(DATADIR)/PARI;\
 	   \$(INSTALL_DATA) $desc/\$(DESC) \$(DATADIR); fi
 
+install-docpdf::
+	-mkdir -p \$(BINDIR) \$(DOCDIR)
+	-cd $doc; \$(MAKE) docpdf
+	-\$(INSTALL_DATA) $doc/libpari.pdf  \$(DOCDIR)
+	-\$(INSTALL_DATA) $doc/users.pdf    \$(DOCDIR)
+	-\$(INSTALL_DATA) $doc/tutorial.pdf \$(DOCDIR)
+	-\$(INSTALL_DATA) $doc/refcard.pdf  \$(DOCDIR)
+
 install-doc::
 	-mkdir -p \$(BINDIR) \$(DOCDIR)
 	-cd $doc; \$(MAKE) all
