update mk files

This commit is contained in:
Kai Tetzlaff (R&S) 2012-08-06 15:39:32 +02:00
parent e46a2eefcb
commit 01e1bd9ae8
2 changed files with 3 additions and 2 deletions

View File

@ -2,10 +2,10 @@
# general emacs lisp pattern rules
# #########################################################################
%/elisp-all:
"$(MAKE)" -C $* $(@F)
"$(call fixpath-shell,$(MAKE))" -C $* $(@F)
%.elc : %.el
"$(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,$?)

View File

@ -85,6 +85,7 @@ ifneq (,$(or $(ComSpec),$(COMSPEC),$(comspec)))
HOSTENV := w32
DIRSEP := $(strip \)
NULL := nul
fixpath-shell = $(subst ?,$(sp),$(subst /,\,$(subst $(sp),?,$(1))))
fixpath-make = $(subst \,/,$(subst $(sp),?,$(1)))
MD := mkdir
endif