diff options
author | Ryan Kavanagh <rak@debian.org> | 2013-02-19 14:29:25 -0500 |
---|---|---|
committer | Ryan Kavanagh <rak@debian.org> | 2013-02-19 14:29:25 -0500 |
commit | 5c03eae23fa9efb59ae7d56fe264838376d21211 (patch) | |
tree | 6aaa27a30966d2c40b43105e34e7220802a42c86 /Makefile | |
parent | Added makefile for building emacsen (diff) |
Added .emacs and glue to make it compile packages on every system
Diffstat (limited to '')
-rwxr-xr-x | Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -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 $</* $@/ ) || rsync -a $< $@ @@ -211,7 +216,8 @@ udh: clean: rm -fr build + $(MAKE) -C emacsen clean clobber: clean rm -f $(GPG_FILES) -.PHONY: build install clean verify merge udh +.PHONY: build install clean verify merge udh emacsen |