summaryrefslogtreecommitdiff
blob: 86608e77c97add60b200f4e642e05384e61eb260 (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
--- vm-8.2.0b-orig/lisp/Makefile.in
+++ vm-8.2.0b/lisp/Makefile.in
@@ -96,7 +96,10 @@
 datadir= @datadir@
 datarootdir= @datarootdir@
 lispdir = @lispdir@
+etcdir= @etcdir@
 pixmapdir= @pixmapdir@
+docdir = @docdir@
+infodir = @infodir@
 
 EMACS_PROG = @EMACS_PROG@
 EMACS_FLAVOR = @EMACS_FLAVOR@
@@ -137,7 +140,7 @@
 	 "$(EMACS_PROG)" $(FLAGS) -l autoload \
 		-f vm-built-autoloads "@abs_builddir@/$@" "`pwd`")
 	echo "(custom-add-load 'vm 'vm-cus-load)" | tr -d '\015' >> $@
-	echo "(setq vm-configure-datadir \"${datadir}/vm\")" | tr -d '\015' >> $@
+	echo "(setq vm-configure-datadir \"${etcdir}\")" | tr -d '\015' >> $@
 	echo "(setq vm-configure-pixmapdir \"${pixmapdir}\")" | tr -d '\015' >> $@
 	echo "(setq vm-configure-docdir \"${docdir}\")" | tr -d '\015' >> $@
 	echo "(setq vm-configure-infodir \"${infodir}\")" | tr -d '\015' >> $@
@@ -168,7 +171,7 @@
 	cat $@.tmp >> $@
 	echo "(setq features (delete 'vm-autoloads features))" >> $@
 	echo "(require 'vm-vars)" >> $@
-	echo "(setq vm-configure-datadir \"${datadir}\")" >> $@
+	echo "(setq vm-configure-datadir \"${etcdir}\")" >> $@
 	echo "(setq vm-configure-pixmapdir \"${pixmapdir}\")" >> $@
 	$(RM) $@.tmp