Because of an ill-advised and mostly-reverted change, PuTTY ignores
boolean settings from X resources unless this file exists, so make sure
that it does. Because that file used to be maintained here, it might
be a dangling symlink, which is no good: notice this and create an
empty file instead.
Xdefaults_DEFS = -DEMACSWD=$(call mdw-conf,emacs-width,77)
$(HOME)/.Xdefaults: $(HOME)/.mdw.conf dot/Xdefaults.pterm
Xdefaults_DEFS = -DEMACSWD=$(call mdw-conf,emacs-width,77)
$(HOME)/.Xdefaults: $(HOME)/.mdw.conf dot/Xdefaults.pterm
+all: | $(HOME)/.putty/sessions/Default%20Settings
+$(HOME)/.putty/sessions/Default\%20Settings: | $$(dir $$@)
+ $(call v_tag,TOUCH)\
+ if [ ! -f $@ ]; then rm -f $@; fi && \
+ touch $@
+
ifeq ($(shell case $${DISPLAY-nil} in (:[0-9]*) echo t ;; (*) echo nil ;; esac),t)
dotfile-hook/.Xdefaults = \
$(call v_tag,XRDB)xrdb -load $<
ifeq ($(shell case $${DISPLAY-nil} in (:[0-9]*) echo t ;; (*) echo nil ;; esac),t)
dotfile-hook/.Xdefaults = \
$(call v_tag,XRDB)xrdb -load $<