$NetBSD$

--- doc/Mmakefile.orig	Fri Nov 29 08:06:19 2002
+++ doc/Mmakefile	Fri Feb 13 23:26:07 2004
@@ -177,7 +177,7 @@
 # Note that some modules are just implementation details of the library,
 # so they are not documented.
 
-library-menu.texi_pp: $(LIBRARY_DIR)/*.m
+library-menu.texi_pp:
 	{ 								\
 	echo "";							\
 	for filename in $(LIBRARY_DIR)/*.m; do				\
@@ -199,7 +199,7 @@
 	done;								\
 	} > library-menu.texi_pp
 
-library-chapters.texi_pp: $(LIBRARY_DIR)/[a-z]*.m
+library-chapters.texi_pp:
 	for filename in $(LIBRARY_DIR)/[a-z]*.m; do 			\
 		case $$filename in					\
 			$(LIBRARY_DIR)/mer_std.m)			\
@@ -271,7 +271,7 @@
 
 .PHONY: install_info
 install_info: $(INFOPAGES) install_dirs
-	-cp *.info* $(INSTALL_INFO_DIR)
+	-cp *.info *.info-[0-9]* $(INSTALL_INFO_DIR)
 	# Update the .../info/dir file.
 	-if [ -x "$(INSTALL_INFO)" ]; then				\
 		$(INSTALL_INFO) $(INSTALL_INFO_DIR)/mercury.info;	\
