update mk files
This commit is contained in:
parent
542f63402b
commit
1bb2575541
@ -18,6 +18,7 @@ EMACS := $(or $(EMACS_OSX),$(EMACS_W32),emacs)
|
|||||||
ifeq (cygwin,$(HOSTENV))
|
ifeq (cygwin,$(HOSTENV))
|
||||||
ifneq (,$(findstring emacs/bin/emacs.exe,$(EMACS)))
|
ifneq (,$(findstring emacs/bin/emacs.exe,$(EMACS)))
|
||||||
EMACS_CYGWIN := emacs
|
EMACS_CYGWIN := emacs
|
||||||
|
EMACS := $(shell cygpath `cygpath -d '$(EMACS)'`)
|
||||||
fixpath-emacs = $(subst $(sp),?,$(shell cygpath -ma $(call fixpath-cyg,$(1))))
|
fixpath-emacs = $(subst $(sp),?,$(shell cygpath -ma $(call fixpath-cyg,$(1))))
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|||||||
@ -2,13 +2,17 @@
|
|||||||
# general emacs lisp pattern rules
|
# general emacs lisp pattern rules
|
||||||
# #########################################################################
|
# #########################################################################
|
||||||
%/elisp-all:
|
%/elisp-all:
|
||||||
"$(call fixpath-shell,$(MAKE))" -C $* $(@F)
|
$(call fixpath-shell,$(MAKE)) -C $* $(@F)
|
||||||
|
|
||||||
|
%/.dir:
|
||||||
|
$(MD) $(call fixpath-shell,$(@D))
|
||||||
|
touch $@
|
||||||
|
|
||||||
%.elc : %.el
|
%.elc : %.el
|
||||||
"$(call fixpath-shell,$(EMACS))"\
|
$(call fixpath-shell,$(EMACS))\
|
||||||
--eval '(setq vc-handled-backends nil)' -batch -q -no-site-file\
|
--eval '(setq vc-handled-backends nil)' -batch -q -no-site-file\
|
||||||
$(addprefix -L ,$(LOAD_PATH)) $(EMACSFLAGS)\
|
$(addprefix -L ,$(LOAD_PATH)) $(EMACSFLAGS)\
|
||||||
-f batch-byte-compile $(call emacspath,$?)
|
-f batch-byte-compile $?
|
||||||
|
|
||||||
# Local Variables:
|
# Local Variables:
|
||||||
# tab-width: 2
|
# tab-width: 2
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user