From 49cf89e0976b6f40189d816ff10c0a73f723a3f2 Mon Sep 17 00:00:00 2001
From: Ryan Kavanagh <rak@debian.org>
Date: Tue, 19 Feb 2013 15:17:48 -0500
Subject: Install info files for emacs

---
 .emacs           | 4 ++++
 emacsen/Makefile | 3 +--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/.emacs b/.emacs
index 341f7f4..198f79b 100644
--- a/.emacs
+++ b/.emacs
@@ -68,6 +68,10 @@
 ;; Emacs24: Also match for substrings in tab completion
 (add-to-list 'completion-styles 'substring)
 
+;; info location:
+(eval-after-load 'info
+                 '(add-to-list 'Info-directory-list "~/.emacs.d/share/info"))
+
 ;; Replace yes or no prompts with y or n.
 (fset 'yes-or-no-p 'y-or-n-p)
 
diff --git a/emacsen/Makefile b/emacsen/Makefile
index 07e764e..134758a 100644
--- a/emacsen/Makefile
+++ b/emacsen/Makefile
@@ -57,7 +57,7 @@ install-color-theme-6.6.0:
 
 install-magit:
 	-mkdir -p $(EMACSD)/$(@:install-%=%)
-	$(MAKE) -C $(@:install-%=%) -e PREFIX="" -e DESTDIR=$(shell pwd)/$(@:install-%=%) \
+	$(MAKE) -C $(@:install-%=%) -e PREFIX="" -e DESTDIR=$(EMACSD) \
 		-e SYSCONFDIR="" -e ELISP_INSTALL_DIR=$(EMACSD)/$(@:install-%=%) install
 
 install-proofgeneral:
@@ -66,6 +66,5 @@ install-proofgeneral:
 
 clean-magit:
 	$(MAKE) -C $(@:clean-%=%) clean
-	rm -fr $(@:clean-%=%)/share
 
 .PHONY: all install clean $(CLEANDIRS)
-- 
cgit v1.2.3