X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=emacs_el%2FMakefile;h=b85c3cc588282a4e76dfcfe70235d1281a728f62;hb=a1bc3d2aea212e9baf2df13c3dd041cbeed7c8d1;hp=8f48010536b2418c5cb1ec9a8b7f515aab1f9698;hpb=8f9b84c09fd62fc003e3ae891c9537572cb87763;p=lib.git 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