ChangeLog, Makefile.in, MCONFIG.in:
  Makefile.in: Use && after a cd command so that the right thing happens
  	if the directory is missing.  Don't compile man pages upon
  	installation any more, since modern Linux systems don't have
  	/usr/man/cat? anymore (they typically cache man pages in /var/catman
  	and delete them if they haven't been used in a while, to save on disk
  	space, and because CPU's are fast enough these days that you can get
  	away with this).
  MCONFIG.in: Add a new makefile variable for the share directory (i.e.,
  	/usr/share).  Make an autoconf magic make rule so that
  	$(top_builddir)/util/subst.conf gets rebuilt automatically when
  	necessary.

diff --git a/MCONFIG.in b/MCONFIG.in
index 3f26b5e..f675d18 100644
--- a/MCONFIG.in
+++ b/MCONFIG.in
@@ -18,6 +18,7 @@
 cat1dir = $(usr_prefix)/man/cat1
 cat8dir = $(usr_prefix)/man/cat8
 infodir = $(usr_prefix)/info
+sharedir = $(usr_prefix)/share
 
 @SET_MAKE@
 
@@ -133,6 +134,10 @@
 		$(top_builddir)/config.status
 	(cd $(top_builddir); CONFIG_FILES=lib/substitute_sh ./config.status)
 
+$(top_builddir)/util/subst.conf: $(top_srcdir)/util/subst.conf.in \
+		$(top_builddir)/config.status
+	(cd $(top_builddir); CONFIG_FILES=util/subst.conf ./config.status)
+
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/MCONFIG \
 		$(top_builddir)/config.status
 	(cd $(top_builddir); CONFIG_FILES=$(my_dir)/Makefile ./config.status)