summaryrefslogtreecommitdiff
path: root/lang/mercury/patches/patch-ad
blob: b628844eba33b0376827a6847d26ef6b782e4f86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
$NetBSD: patch-ad,v 1.3 2004/02/14 03:04:31 kristerw Exp $

--- 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;	\