chiark
/
gitweb
/
~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f6c3a80
)
Makefile: Automatically refresh the X resources when they're changed.
author
Mark Wooding
<mdw@distorted.org.uk>
Fri, 27 Apr 2018 11:43:27 +0000
(12:43 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Fri, 27 Apr 2018 11:48:11 +0000
(12:48 +0100)
Makefile
patch
|
blob
|
blame
|
history
diff --git
a/Makefile
b/Makefile
index 8a2de99516436f28b6c2a2a152b9b9c07cc0d156..00d06e4f2d13f79d4a3e3413aab5ca4f6f882824 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-276,6
+276,11
@@
DOTCPP += .Xdefaults
Xdefaults_DEFS = -DEMACSWD=$(call mdw-conf,emacs-width,77)
$(HOME)/.Xdefaults: $(HOME)/.mdw.conf
Xdefaults_DEFS = -DEMACSWD=$(call mdw-conf,emacs-width,77)
$(HOME)/.Xdefaults: $(HOME)/.mdw.conf
+ifeq ($(shell case $${DISPLAY-nil} in (:[0-9]*) echo t ;; (*) echo nil ;; esac),t)
+dotfile-hook/.Xdefaults = \
+ $(call v_tag,XRDB)xrdb -override $<
+endif
+
endif
###--------------------------------------------------------------------------
endif
###--------------------------------------------------------------------------