Description: <short summary of the patch>
 TODO: Put a short summary on the line above and replace this paragraph
 with a longer explanation of this change. Complete the meta-information
 with other relevant fields (see below for details). To make it easier, the
 information below has been extracted from the changelog. Adjust it or drop
 it.
 .
 htroff (2.0-4) unstable; urgency=low
 .
   * Bump standard version: 3.9.3
   * Drop cdbs from Build-Depends, now using debhelper 7(a.k.a. dh)
Author: Youhei SASAKI <uwabami@gfd-dennou.org>

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: http://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD>

--- htroff-2.0.orig/config.pl
+++ htroff-2.0/config.pl
@@ -18,7 +18,7 @@ if ($MSDOS) {
 	$EXE = '.com';
 } else {
 	# UNIX
-	$BASEDIR = '/usr/local';
+	$BASEDIR = '/usr';
 	$OSTYPE = 'ux';
 	$CP = 'cp';
 	$INSTALL = 'install';
@@ -36,17 +36,17 @@ while ($_ = shift) {
 
 if (defined $BASEDIR) {
 	$BINDIR = "$BASEDIR/bin";
-	$MANDIR = "$BASEDIR/man";
-	$DOCDIR = "$BASEDIR/doc";
+	$MANDIR = "$BASEDIR/share/man";
+	$DOCDIR = "$BASEDIR/share/doc";
 }
 
-$MANDIR = "$MANDIR/ja_JP.ujis" if (-d "/usr/man/ja_JP.ujis");
-$MANDIR = "$MANDIR/ja_JP.euc" if (-d "/usr/man/ja_JP.euc");
-$MANDIR = "$MANDIR/ja" if (-d "/usr/man/ja");
+$MANDIR = "$MANDIR/ja_JP.ujis" if (-d "/usr/share/man/ja_JP.ujis");
+$MANDIR = "$MANDIR/ja_JP.euc" if (-d "/usr/share/man/ja_JP.euc");
+$MANDIR = "$MANDIR/ja" if (-d "/usr/share/man/ja");
 
 &GenerateMakefile("Makefile.src", "Makefile");
 &GenerateMakefile("doc/Makefile.src", "doc/Makefile");
-	
+
 exit 0;
 
 sub GenerateMakefile {
@@ -54,7 +54,7 @@ sub GenerateMakefile {
 	print "<$input >$output\n";
 	open($input, "<$input") || die "$0: $input";
 	open($output, ">$output") || die "$0: $output";
-	
+
 	print $output "# Makefile generated by config.pl.\n";
 	print $output "CP         = $CP\n";
 	print $output "CAT        = $CAT\n";
