update mk

This commit is contained in:
Kai Tetzlaff 2012-08-11 14:10:18 +02:00
parent 542f63402b
commit c9313a9e6a
3 changed files with 10 additions and 1 deletions

View File

@ -3,6 +3,11 @@ ifndef HAS_UTIL_MK
include $(HOME)/Documents/mk/util.mk include $(HOME)/Documents/mk/util.mk
endif endif
ifeq (tetzco.de,$(DOMAIN))
URL_TETZCO ?= https://www.tetzco.de/
endif
URL_TETZCO ?= https://kail.dyndns.org/
EMACS_OSX := $(strip\ EMACS_OSX := $(strip\
$(or $(wildcard $(HOME)/Work/oss/emacs-mac-port/mac/Emacs.app/Contents/MacOS/Emacs),\ $(or $(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))) $(wildcard $(HOME)/Work/oss/build/osx/clang/64/dbg/emacs-new/nextstep/Emacs.app/Contents/MacOS/Emacs)))

View File

@ -89,6 +89,10 @@ ifneq (,$(or $(ComSpec),$(COMSPEC),$(comspec)))
fixpath-make = $(subst \,/,$(subst $(sp),?,$(1))) fixpath-make = $(subst \,/,$(subst $(sp),?,$(1)))
MD := mkdir MD := mkdir
endif endif
else
FQDN := $(shell hostname -f)
HOSTNAME := $(shell hostname -s)
DOMAIN := $(subst $(HOSTNAME).,,$(FQDN))
endif endif
HOSTENV ?= unix HOSTENV ?= unix

2
vcs.mk
View File

@ -55,7 +55,7 @@ define HG_TMPL
@echo +++ Updating[hg]: $$(patsubst pull-%,%,$$@) $(SHQ)($2$(SHQ)) @echo +++ Updating[hg]: $$(patsubst pull-%,%,$$@) $(SHQ)($2$(SHQ))
@echo ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ @echo ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
$$(pre_up_cmd-$1) $$(pre_up_cmd-$1)
$(HG) -R $(subst /,$(DIRSEP),$(subst $(DOT_DIR)/,,$1)) pull $(HGPULL_FLAGS) $(HG) -R $(subst /,$(DIRSEP),$(subst $(DOT_DIR)/,,$1)) pull $(HGPULL_FLAGS) $2
$(HG) -R $(subst /,$(DIRSEP),$(subst $(DOT_DIR)/,,$1)) update $(HGPULL_FLAGS) $(HG) -R $(subst /,$(DIRSEP),$(subst $(DOT_DIR)/,,$1)) update $(HGPULL_FLAGS)
$$(post_up_cmd-$1) $$(post_up_cmd-$1)