summaryrefslogtreecommitdiff
path: root/math/algae/patches/patch-ae
blob: 35604d61bb0a7304dc0f71aaebeea22c1eb285d9 (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-ae,v 1.2 2003/04/29 22:15:28 jtb Exp $

--- Makefile.in.orig
+++ Makefile.in
@@ -78,18 +78,18 @@
 libdir = $(prefix)/lib
 
 # Directory in which to install the man page.
-mandir = $(datadir)/man/man$(manext)
+mandir = $(prefix)/man/man$(manext)
 # The manpage extension
 manext = 1
 
 # Directory in which to install the Info files.
-infodir = $(datadir)/info
+infodir = $(prefix)/info
 
 # Directory in which to install the algae tools.
 tooldir = $(datadir)/algae/$(VERSION_NUMBER)/tools
 
 # Directory in which to install the algae html files.
-htmldir = $(datadir)/algae/$(VERSION_NUMBER)/html
+htmldir = $(prefix)/share/doc/html/algae
 
 # Directory and name of the startup file.  This is compiled into the
 # executable, so don't change either assignment if you have a binary
@@ -308,7 +308,7 @@
 	cd tools; \
 	  $(MAKE) tooldir=$(tooldir) install
 	cd doc; \
-	  $(MAKE) mandir=$(mandir) datadir=$(datadir) \
+	  $(MAKE) prefix=$(prefix) mandir=$(mandir) datadir=$(datadir) \
 	  manext=$(manext) infodir=$(infodir) htmldir=$(htmldir) install
 .PHONY:	install