From a1bc3d2aea212e9baf2df13c3dd041cbeed7c8d1 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Mon, 20 Jan 2014 17:07:30 -0800 Subject: [PATCH] make this simpler so it works --- emacs_el/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/emacs_el/Makefile b/emacs_el/Makefile index 8f48010..b85c3cc 100644 --- a/emacs_el/Makefile +++ b/emacs_el/Makefile @@ -1,10 +1,10 @@ #!/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 -- 2.39.2