summaryrefslogtreecommitdiff
path: root/lang/ja-gawk/patches/patch-ac
blob: 8f6bc5db7687941e47fcc3790a049544fec23214 (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
32
33
34
35
$NetBSD: patch-ac,v 1.2 2004/06/17 13:07:45 grant Exp $

--- doc/Makefile.in.orig	1999-04-29 00:21:56.000000000 +1000
+++ doc/Makefile.in
@@ -31,7 +31,7 @@ INSTALL_DATA = @INSTALL_DATA@
 prefix = @prefix@
 exec_prefix = @exec_prefix@
 binprefix =
-manprefix =
+manprefix = j
 
 bindir = @bindir@
 libdir = @libdir@
@@ -82,18 +82,15 @@ $(infodir)/gawk.info::
 	for i in $$d/gawk.info*; do \
 		$(INSTALL_DATA) $$i $(infodir)/$$i ; \
 	done; \
-	if $(SHELL) -c 'install-info --version' > /dev/null 2>&1 ; \
-	then install-info --info-dir=$(infodir) gawk.info ; \
-	else true ; fi; exit 0
 
 $(mandir)/gawk$(manext):: gawk.1
-	$(INSTALL_DATA) $(srcdir)/gawk.1 $(mandir)/gawk$(manext)
+	$(INSTALL_DATA) $(srcdir)/gawk.1 $(mandir)/$(manprefix)gawk$(manext)
 
 $(mandir)/igawk$(manext):: igawk.1
-	$(INSTALL_DATA) $(srcdir)/igawk.1 $(mandir)/igawk$(manext)
+	$(INSTALL_DATA) $(srcdir)/igawk.1 $(mandir)/$(manprefix)igawk$(manext)
 
 uninstall:
-	rm -f $(mandir)/gawk$(manext) $(mandir)/igawk$(manext) $(infodir)/gawk.info*
+	rm -f $(mandir)/$(manprefix)gawk$(manext) $(mandir)/$(manprefix)igawk$(manext) $(infodir)/gawk.info*
 
 dvi:	gawk.dvi