From 9c20c7e8c6898c98359e58087a4e5c4b8005649b Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Wed, 16 Sep 2015 11:47:15 -0400 Subject: More work on emacs config... working now --- emacsen/Makefile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'emacsen/Makefile') 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-%=%) -- cgit v1.2.3