checkout = git clone http://git.donarmstrong.com/org-ref.git org-ref
[web-mode]
checkout = git clone https://github.com/fxbois/web-mode.git web-mode
+[helm]
+checkout = git clone https://github.com/emacs-helm/helm.git helm
+[helm-bibtex]
+checkout = git clone https://github.com/tmalsburg/helm-bibtex.git helm-bibtex
+[parsebib]
+checkout = git clone https://github.com/joostkremers/parsebib.git parsebib
+[s-el]
+checkout = git clone https://github.com/magnars/s.el.git s-el
+[f-el]
+checkout = git clone https://github.com/rejeep/f.el.git f-el
\ No newline at end of file
ELC_FILES=$(patsubst %.el,%.elc,$(wildcard *.el))
endif
-all: $(ELC_FILES) configuration
+SUBDIRS=
+LIBOPTS=-L .
+ifeq ($(strip $(WHICH_EMACS)),)
+SUBDIRS=configuration helm org-ref
+LIBDIRS=-L . -L helm
+endif
+
+
+all: $(ELC_FILES) $(SUBDIRS)
EMACS=emacs
-configuration:
- $(MAKE) -C configuration
+$(SUBDIRS): %:
+ $(MAKE) -C $@
%.elc: %.el
- $(EMACS) -q -no-site-file -L . --no-site-file -batch -f batch-byte-compile $<;
+ $(EMACS) -q -no-site-file $(LIBDIRS) --no-site-file -batch -f batch-byte-compile $<;
clean:
rm -f *.elc
-.PHONY: clean all configuration
+.PHONY: clean all $(SUBDIRS)