summaryrefslogtreecommitdiff
path: root/mail/vm/patches/patch-aa
blob: 4a3be3eb735e663291c917e96f813053540bcb73 (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
$NetBSD: patch-aa,v 1.2 2000/12/13 23:14:07 jtb Exp $

--- Makefile.orig	Mon Nov 27 22:51:42 2000
+++ Makefile
@@ -5,18 +5,18 @@
 EMACS = emacs
 
 # where the Info file should go
-INFODIR = /usr/local/lib/emacs/info
+INFODIR = ${PREFIX}/info
 
 # where the vm.elc, tapestry.elc, etc. files should go
-LISPDIR = /usr/local/lib/emacs/site-lisp
+LISPDIR = ${PREFIX}/share/emacs/site-lisp/vm
 
 # where the toolbar pixmaps should go.
 # vm-toolbar-pixmap-directory must point to the same place.
 # vm-image-directory must point to the same place.
-PIXMAPDIR = /usr/local/lib/emacs/etc/vm
+PIXMAPDIR = ${LISPDIR}/pixmaps
 
 # where the binaries should be go.
-BINDIR = /usr/local/bin
+BINDIR = ${PREFIX}/bin
 
 ############## no user servicable parts beyond this point ###################
 
@@ -124,7 +124,7 @@
 
 vm.info:	vm.texinfo
 	@echo "making vm.info..."
-	@$(EMACS) $(BATCHFLAGS) -insert vm.texinfo -l texinfmt -f texinfo-format-buffer -f save-buffer
+	-makeinfo vm.texinfo
 
 vm-autoload.elc:	$(SOURCES)
 	@echo scanning sources to build autoload definitions...