From 1bb25755411f0637467c4868ffdaf5d7b16fd92d Mon Sep 17 00:00:00 2001 From: "Kai Tetzlaff (R&S)" Date: Fri, 17 Aug 2012 13:28:13 +0200 Subject: [PATCH] update mk files --- emacsd-defs.mk | 1 + emacsd-rules.mk | 10 +++++++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/emacsd-defs.mk b/emacsd-defs.mk index 0a1580e..d44f104 100644 --- a/emacsd-defs.mk +++ b/emacsd-defs.mk @@ -18,6 +18,7 @@ EMACS := $(or $(EMACS_OSX),$(EMACS_W32),emacs) ifeq (cygwin,$(HOSTENV)) ifneq (,$(findstring emacs/bin/emacs.exe,$(EMACS))) EMACS_CYGWIN := emacs + EMACS := $(shell cygpath `cygpath -d '$(EMACS)'`) fixpath-emacs = $(subst $(sp),?,$(shell cygpath -ma $(call fixpath-cyg,$(1)))) endif endif diff --git a/emacsd-rules.mk b/emacsd-rules.mk index eb774d7..f67b411 100644 --- a/emacsd-rules.mk +++ b/emacsd-rules.mk @@ -2,13 +2,17 @@ # general emacs lisp pattern rules # ######################################################################### %/elisp-all: - "$(call fixpath-shell,$(MAKE))" -C $* $(@F) + $(call fixpath-shell,$(MAKE)) -C $* $(@F) + +%/.dir: + $(MD) $(call fixpath-shell,$(@D)) + touch $@ %.elc : %.el - "$(call fixpath-shell,$(EMACS))"\ + $(call fixpath-shell,$(EMACS))\ --eval '(setq vc-handled-backends nil)' -batch -q -no-site-file\ $(addprefix -L ,$(LOAD_PATH)) $(EMACSFLAGS)\ - -f batch-byte-compile $(call emacspath,$?) + -f batch-byte-compile $? # Local Variables: # tab-width: 2