ifndef HAS_UTIL_MK include $(HOME)/Documents/mk/util.mk endif ifeq (tetzco.de,$(DOMAIN)) URL_TETZCO ?= https://www.tetzco.de/ URL_GIT_TETZCO ?= https://git.tetzco.de/ endif #URL_TETZCO ?= https://kail.dyndns.org/ URL_TETZCO ?= https://www.tetzco.de/ URL_GIT_TETZCO ?= https://git.tetzco.de/ EMACS_OSX := $(strip\ $(or $(wildcard /usr/local/bin/emacs),\ $(wildcard $(HOME)/Work/oss/emacs-mac-port/mac/Emacs.app/Contents/MacOS/Emacs),\ $(wildcard $(HOME)/Work/oss/build/osx/clang/64/dbg/emacs-new/nextstep/Emacs.app/Contents/MacOS/Emacs))) EMACS_W32 :=\ $(subst ?,$(sp),$(firstword\ $(subst $(sp),?,$(wildcard $(call fixpath-make,$(ProgramW6432)/emacs/bin/emacs.exe)))\ $(subst $(sp),?,$(wildcard $(call fixpath-make,$(ProgramFiles$(oparen)x86$(cparen))/emacs/bin/emacs.exe)))\ $(subst $(sp),?,$(wildcard $(call fixpath-make,$(ProgramFiles)/emacs/bin/emacs.exe))))) 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 ifdef fixpath-emacs emacspath = $(foreach f,$(1),$(call fixpath-emacs,$(f))) else fixpath-emacs = $(1) emacspath = $(1) endif HG_DIRS := GIT_DIRS := BZR_DIRS := SVN_DIRS := CVS_DIRS := #SHELL := sh.exe -x #$(error E:$(EMACS)) #$(error '$(value fixpath-emacs)' '$(value emacspath)') DOT_DIR := $(HOME)/.emacs.d ELISP_DIR := $(DOT_DIR)/elisp-vcs LISP_DIR := $(DOT_DIR)/lisp INFO_DIR := $(DOT_DIR)/info BIN_DIR := $(firstword $(wildcard $(HOME)/bin $(HOME)/Tools)) MAKEINFO := makeinfo TEXI2DVI := texi2dvi PS2PDF := ps2pdf DVIPDFM := dvipdfm CEDET_HOME := $(LISP_DIR)/cedet #$(error '$(call emacspath,.)') #$(error fixpath: '$(call fixpath,$(HOME))') # Local Variables: # tab-width: 2 # End: