aboutsummaryrefslogtreecommitdiff
path: root/emacsen/Makefile
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@debian.org>2015-09-16 11:47:15 -0400
committerRyan Kavanagh <rak@debian.org>2015-09-16 11:47:15 -0400
commit9c20c7e8c6898c98359e58087a4e5c4b8005649b (patch)
treef6115b26d27638dcd3e761284c63bac49dac3c34 /emacsen/Makefile
parentAdded zeta solo screenlayout (diff)
More work on emacs config... working now
Diffstat (limited to 'emacsen/Makefile')
-rw-r--r--emacsen/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/emacsen/Makefile b/emacsen/Makefile
index 402f081..7ebb4c1 100644
--- a/emacsen/Makefile
+++ b/emacsen/Makefile
@@ -4,8 +4,7 @@ EMACSD=$(ROOT)/build/.emacs.d/
export ELISPDIR
EMACSEN=$(ROOT)/emacsen
-SUBDIRS = dictem \
- use-package
+SUBDIRS = dictem
MAKEDIRS = $(SUBDIRS:%=make-%)
INSTALLDIRS = $(SUBDIRS:%=install-%)
@@ -20,7 +19,7 @@ $(MAKEDIRS):
touch $@
install: $(INSTALLDIRS)
- install-info $(EMACSD)/share/info/*.info $(EMACSD)/share/info/dir
+ [ ! -d $(EMACSD)/share/info ] || install-info $(EMACSD)/share/info/*.info $(EMACSD)/share/info/dir
install-% : make-%
$(INSTALLDIRS):
@@ -34,13 +33,13 @@ $(CLEANDIRS):
[ ! -f $(@:clean-%=%)/Makefile ] || $(MAKE) -C $(@:clean-%=%) clean
# Manual overrides:
-make-dictem install-use-package:
+make-dictem:
touch $@
-clean-dictem install-use-package:
+clean-dictem:
echo $@
-install-dictem install-use-package:
+install-dictem:
-mkdir -p $(EMACSD)/$(@:install-%=%)
install -m 644 $(@:install-%=%)/*.el $(EMACSD)/$(@:install-%=%)