summaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorThorsten Wißmann <edu@thorsten-wissmann.de>2012-08-06 00:35:29 +0200
committerThorsten Wißmann <edu@thorsten-wissmann.de>2012-08-06 00:35:29 +0200
commitdd9fb6b272df5e835eb02f5dc1ed37e1cc612513 (patch)
tree4bced7df213937bc6210be4c59c9b5a66cb22417 /config.mk
parentd1487b9250f06825333633b89e85f3272b446626 (diff)
Fall back to system wide autostart file on error
Fall back to the system wide autostart file (very often placed at /etc/xdg/herbstluftwm/autostart) if the autostart in the user's home can not be executed.
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.mk b/config.mk
index 415afda4..4d3ae303 100644
--- a/config.mk
+++ b/config.mk
@@ -25,6 +25,7 @@ VERSIONFLAGS = \
-D HERBSTLUFT_VERSION_MINOR=$(VERSION_MINOR)
CFLAGS += $(VERSIONFLAGS)
CFLAGS += $(XINERAMAFLAGS)
+CFLAGS += -D HERBSTLUFT_GLOBAL_AUTOSTART=\"$(CONFIGDIR)/autostart\"
LDFLAGS ?= -g
DESTDIR = /
PREFIX = /usr/local