--- mh-book-200605.orig/debian/README.Debian
+++ mh-book-200605/debian/README.Debian
@@ -0,0 +1,11 @@
+mh-book for Debian
+------------------
+
+To view the manual, point your browser at:
+
+  file:/usr/share/doc/mh-book/html/index.html
+
+This package was considerably simplefied at version 200605 when the CGI
+search interface was removed.
+
+ -- Peter S Galbraith <psg@debian.org>, Mon, 30 Oct 2006 12:24:26 -0500
--- mh-book-200605.orig/debian/rules
+++ mh-book-200605/debian/rules
@@ -0,0 +1,52 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is the debhelper compatability version to use.
+export DH_COMPAT=4
+
+build:
+
+clean:
+	dh_testdir
+	dh_testroot
+	dh_clean
+
+install:
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+	tar --exclude debian --exclude README --exclude NEWS -cf - ./ | ( cd debian/mh-book/usr/share/doc/mh-book/html/ ; tar xf - )
+	(cd debian/mh-book/usr/share/doc/mh-book/html/ ; mv examples ../ ; ln -s ../examples)
+	(cd debian/mh-book/usr/share/doc/mh-book/examples/mh/bin; perl -pi -e s:/usr/local/bin/perl:/usr/bin/perl: rfl)
+
+# Build architecture-independent files here.
+binary-indep: install
+	dh_testdir
+	dh_testroot
+	dh_installdocs
+	dh_installexamples
+	dh_installmenu
+	dh_installchangelogs 
+	dh_link
+	dh_strip
+	gzip -9 debian/mh-book/usr/share/doc/mh-book/changelog.Debian
+	dh_fixperms
+	chmod +x debian/mh-book/usr/share/doc/mh-book/examples/mh/bin/*
+	chmod +x debian/mh-book/usr/share/doc/mh-book/examples/xmh/bin/*
+	chmod -x debian/mh-book/usr/share/doc/mh-book/examples/mh/old-edition2/rm_msgs.cron*
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary-arch: binary-indep
+
+binary: binary-indep
+
+.PHONY: clean binary-indep binary install configure build
--- mh-book-200605.orig/debian/changelog
+++ mh-book-200605/debian/changelog
@@ -0,0 +1,66 @@
+mh-book (200605-1) unstable; urgency=low
+
+  * New upstream release.
+  * Simplified package considerably, for example, removing CGI search and
+    compression of HTML files.
+  * Bug fix: "mh-book: missing binary-arch target in debian/rules (Policy
+    4.9)", thanks to Aurelien Jarno (Closes: #395628).
+
+ -- Peter S Galbraith <psg@debian.org>  Mon, 30 Oct 2006 12:34:36 -0500
+
+mh-book (9910-3) unstable; urgency=low
+
+  * Updated to policy 3.6.2 without changes.
+  * Fixed up copyright file, and tweaked rules file.
+  * Finish /usr/doc transition, thanks to joeyh (closes: #359537)
+
+ -- Peter S Galbraith <psg@debian.org>  Mon, 27 Mar 2006 20:35:22 -0500
+
+mh-book (9910-2) unstable; urgency=low
+
+  * Uncompress HTML files.  The installed package size goes up to
+    8.2MB from 6.2MB, but it can more easily be used by free web browsers.
+    (closes: #74162)
+  * Switch to debhelper.
+  * Updated to policy 3.5.2 (Added Build-Depends).
+
+ -- Peter S Galbraith <psg@debian.org>  Mon, 26 Mar 2001 12:42:56 -0500
+
+mh-book (9910-1) unstable; urgency=low
+
+  * New upstream release (contains no LZW-compressed GIFs)
+  * removed the background colour-addon, since it's included upstream.
+  * Updated to policy 3.0.0 (FHS /usr/doc/mh-book -> /usr/share/doc/mh-book)
+  
+ -- Peter S Galbraith <psg@debian.org>  Thu, 21 Oct 1999 09:40:14 -0400
+
+mh-book (9904-3) unstable; urgency=low
+
+  * Added html2ps' -D option to postscript making scripts
+  * Fixed postscript making scripts to include GIF iamges.
+  
+ -- Peter S Galbraith <psg@debian.org>  Mon, 14 Jun 1999 13:44:41 -0400
+
+mh-book (9904-2) unstable; urgency=low
+
+  * Fixed the cgi search engine so it can act as a remote server.
+  * Added a background colour.
+	
+ -- Peter S Galbraith <psg@debian.org>  Mon, 31 May 1999 13:32:30 -0400
+
+mh-book (9904-1) unstable; urgency=low
+
+  * Initial Release.
+  * renamed all the .htm files to .html and compressed them all except
+    those named index.html, frm-help.html, frm-home.html, frm-srch.html,
+    and frm-toc.html. 
+  * renamed all internal HREF tags to point to the new file names.
+  * put all example files in /usr/doc/mh-book/examples (and set soft 
+    links such that the HTML links still work).
+  * Edited the rfl Perl example script to point to Perl's path correctly.
+  * registered the package with doc-base (so it works with dwww).
+  * made my own CGI script for a local-based search engine.
+  * bundled a script to produce PostScript versions of chapters suitable for
+    printing. 
+
+ -- Peter S Galbraith <psg@debian.org>  Thu, 15 Apr 1999 19:26:39 -0500
--- mh-book-200605.orig/debian/dirs
+++ mh-book-200605/debian/dirs
@@ -0,0 +1,3 @@
+usr/share/doc/mh-book
+usr/share/doc/mh-book/html
+usr/share/doc-base
--- mh-book-200605.orig/debian/control
+++ mh-book-200605/debian/control
@@ -0,0 +1,16 @@
+Source: mh-book
+Section: doc
+Priority: optional
+Maintainer: Peter S Galbraith <psg@debian.org>
+Build-Depends: debhelper (>> 4.0.0)
+Standards-Version: 3.7.2
+
+Package: mh-book
+Architecture: all
+Depends: ${shlibs:Depends}
+Description: MH & nmh: Email for Users & Programmers online book
+ This is the book written by Jerry Peek and published by O'Reilly &
+ Associates, Inc.  This book covers MH, nmh, and several interfaces 
+ to MH including xmh and exmh.  MH-E is now documented separately.
+ .
+ This manual is also visible at http://rand-mh.sourceforge.net/book/
--- mh-book-200605.orig/debian/copyright
+++ mh-book-200605/debian/copyright
@@ -0,0 +1,37 @@
+This package was debianized by Peter S Galbraith psg@debian.org on
+Thu, 15 Apr 1999 19:26:39 -0500.
+
+It was downloaded from
+  http://prdownloads.sourceforge.net/rand-mh/MH-book-200605.tgz?download
+
+Copyright:
+
+The book MH & xmh: Email for Users & Programmers,
+ISBN 1-56592-093-7, written by Jerry Peek, was published by and is
+copyright &copy; 1991, 1992, 1995 by O'Reilly & Associates, Inc.
+In June, 1996, ORA made the book freely available under the terms of
+the GNU General Public License.
+The book was split into more than 400 separate files.
+Since then, some of the files have been updated.
+Those files with information from the original book still have the
+original copyright; they're marked "Revised by 'author's name'."
+Some other files that are new, and didn't appear in the original
+print edition, are marked "This file first appeared in the updated
+online edition of the book 'MH & nmh: Email for Users & Programmers'."
+These new files are not copyrighted by ORA; each file explains its own
+copyright.
+
+The original book's title was
+ MH & xmh: Email for Users & Programmers.
+The updated book title is
+ MH & nmh: Email for Users & Programmers
+(without the 'xmh').
+
+This book is freely available; you can redistribute it and/or modify
+it under the terms of the GNU General Public License
+as published by the Free Software Foundation; either version 2 of the
+License, or (at your option) any later version.
+Where the License refers to "software" substitute "book."
+
+On Debian systems, the text of the license can be found at
+/usr/share/common-licenses/GPL-2
--- mh-book-200605.orig/debian/docs
+++ mh-book-200605/debian/docs
@@ -0,0 +1,2 @@
+README
+NEWS
--- mh-book-200605.orig/debian/doc-base
+++ mh-book-200605/debian/doc-base
@@ -0,0 +1,9 @@
+Document: mh-book
+Title: MH & nmh: Email for Users & Programmers
+Author: Jerry Peek
+Abstract: The HTML version of the O'Reilly book on the MH Email program
+Section: Apps/Net
+
+Format: HTML
+Index: /usr/share/doc/mh-book/html/index.html
+Files: /usr/share/doc/mh-book/html/*.html
