summaryrefslogtreecommitdiff
path: root/math/algae/patches/patch-ae
blob: b507b980d2ca146a296f1049924b72e2a73140a3 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
$NetBSD: patch-ae,v 1.3 2003/07/24 16:28:56 jtb Exp $

--- Makefile.in.orig	2003-02-28 23:07:03.000000000 +0000
+++ Makefile.in	2003-07-24 17:14:18.000000000 +0100
@@ -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
@@ -99,10 +99,10 @@
 RC0 = $(rcdir)/algae.A
 
 # Directory in which to install source code.
-sourcedir = $(prefix)/src
+sourcedir = $(prefix)/include
 
 # Directory in which to install the header files.
-hdir = $(sourcedir)/algae/$(VERSION_NUMBER)/include
+hdir = $(sourcedir)/algae
 
 # Directory containing site files: that is, files installed locally
 # which are not part of the standard Algae distribution.
@@ -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