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 --- Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index f8a797c..9d30d2e 100755 --- a/Makefile +++ b/Makefile @@ -42,6 +42,7 @@ GLOBAL_FILES = \ .cmus/ \ .dput.cf \ .dzen/ \ + .emacs \ .fonts.conf \ .gitconfig \ .imapfilter/ \ @@ -108,7 +109,7 @@ all: clean build # build/LOCAL_FILES targets overwrite what was copied in GLOBAL_FILES. BUILD = $(patsubst %,build/%,$(GLOBAL_FILES) $(LOCAL_FILES) $(GPG_FILES)) -build: $(BUILD) +build: $(BUILD) emacsen # We must force these with a phony target, otherwise, make will see that they're # already there (for example, from installing the rest of .mutt or .zsh) and @@ -126,6 +127,10 @@ $(GPG_FILES): touch $@ && chmod 600 $@ [ "$(GPG_DISABLED)" = "True" ] || $(GPG_BINARY) --decrypt gpg/$@.gpg > $@ +emacsen: + $(MAKE) -C $@ + $(MAKE) -C $@ install + build/%: % $(SUBSTS_FILE) [ -d $(dir $@) ] || mkdir -p $(dir $@) ( [ -d $< ] && rsync -a $