]> git.donarmstrong.com Git - lib.git/blobdiff - emacs_el/Makefile
remove org-latex which no longer exists
[lib.git] / emacs_el / Makefile
index 8f48010536b2418c5cb1ec9a8b7f515aab1f9698..c79737ef3cf1a9e84da85f3b29d6e1f3c6fd1186 100644 (file)
@@ -1,22 +1,25 @@
 #!/usr/bin/make
 
 
-WHICH_EMACS=
+WHICH_EMACS:=$(shell which emacs >/dev/null 2>&1 || echo "fail")
 
 ELC_FILES=
-ifneq ($(shell (which emacs >/dev/null 2>&1 || echo -n "fail") && echo -n "success"),"fail")
+ifeq ($(strip $(WHICH_EMACS)),)
 ELC_FILES=$(patsubst %.el,%.elc,$(wildcard *.el))
 endif
 
-all: $(ELC_FILES)
+all: $(ELC_FILES) configuration
 
 EMACS=emacs
 
+configuration:
+       $(MAKE) -C configuration
+
 %.elc: %.el
        $(EMACS) -q -no-site-file -L . --no-site-file -batch -f batch-byte-compile $<;
 
 clean: 
        rm -f *.elc
 
-.PHONY: clean all
+.PHONY: clean all configuration