aboutsummaryrefslogtreecommitdiff
path: root/emacsen
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@debian.org>2013-02-19 14:29:25 -0500
committerRyan Kavanagh <rak@debian.org>2013-02-19 14:29:25 -0500
commit5c03eae23fa9efb59ae7d56fe264838376d21211 (patch)
tree6aaa27a30966d2c40b43105e34e7220802a42c86 /emacsen
parentAdded makefile for building emacsen (diff)
Added .emacs and glue to make it compile packages on every system
Diffstat (limited to 'emacsen')
-rw-r--r--emacsen/Makefile12
1 files changed, 6 insertions, 6 deletions
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