From 5c03eae23fa9efb59ae7d56fe264838376d21211 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Tue, 19 Feb 2013 14:29:25 -0500 Subject: Added .emacs and glue to make it compile packages on every system --- emacsen/Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'emacsen/Makefile') diff --git a/emacsen/Makefile b/emacsen/Makefile index ebed80b..9f8b299 100644 --- a/emacsen/Makefile +++ b/emacsen/Makefile @@ -1,6 +1,6 @@ ROOT=$(shell pwd)/.. export ROOT -EMACSD=$(ROOT)/.emacs.d/ +EMACSD=$(ROOT)/build/.emacs.d/ export ELISPDIR SUBDIRS = auto-complete \ @@ -19,7 +19,7 @@ $(SUBDIRS): install: $(INSTALLDIRS) $(INSTALLDIRS): - -mkdir $(EMACSD)/$(@:install-%=%) + -mkdir -p $(EMACSD)/$(@:install-%=%) $(MAKE) -C $(@:install-%=%) install DIR=$(EMACSD)/$(@:install-%=%) clean: $(CLEANDIRS) @@ -31,19 +31,19 @@ auto-indent-mode clean-auto-indent-mode: echo $@ install-auto-complete: - -mkdir $(EMACSD)/$(@:install-%=%) + -mkdir -p $(EMACSD)/$(@:install-%=%) $(MAKE) -C $(@:install-%=%) -e DIR=$(EMACSD)/$(@:install-%=%) install install-auto-indent-mode: - -mkdir $(EMACSD)/$(@:install-%=%) + -mkdir -p $(EMACSD)/$(@:install-%=%) cp $(@:install-%=%)/auto-indent-mode.el $(EMACSD)/$(@:install-%=%) install-color-theme-6.6.0: - -mkdir $(EMACSD)/$(@:install-%=%) + -mkdir -p $(EMACSD)/$(@:install-%=%) $(MAKE) -C $(@:install-%=%) -e ELISPDIR=$(EMACSD)/$(@:install-%=%) install install-magit: - -mkdir $(EMACSD)/$(@:install-%=%) + -mkdir -p $(EMACSD)/$(@:install-%=%) $(MAKE) -C $(@:install-%=%) -e PREFIX="" -e DESTDIR=$(shell pwd)/$(@:install-%=%) \ -e SYSCONFDIR="" -e ELISP_INSTALL_DIR=$(EMACSD)/$(@:install-%=%) install -- cgit v1.2.3