summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5e667a6..2d00064 100644
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,7 @@
ARCH := $(shell uname -m)
OS := $(shell uname -s | tr '[A-Z]' '[a-z]')
TARGET := $(HOME)/.xmonad/xmonad-$(ARCH)-$(OS)
+TAFFY := $(HOME)/.config/taffybar/taffybar.hs
SRC := $(shell find . -type f -name '*.hs')
CABAL_BIN ?= $(shell which cabal)
SANDBOX := cabal.sandbox.config
@@ -19,7 +20,7 @@ DISPLAY ?= :0
all: build
################################################################################
-install: $(TARGET)
+install: $(TARGET) $(TAFFY)
################################################################################
build: $(XMINAD)
@@ -73,3 +74,7 @@ $(TARGET): $(XMINAD)
if [ -r $@ ]; then mv $@ $@.prev; fi
cp -p $? $@
cd $(dir $@) && ln -nfs $(notdir $@) xminad
+
+$(TAFFY): $(XMINAD)
+ mkdir -p $(dir $@)
+ ln -sf $(CURDIR)/taffybar.hs $@