summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMichal Minar <mic.liamg@gmail.com>2015-08-25 07:22:24 +0200
committerMichal Minar <mic.liamg@gmail.com>2015-08-25 07:22:24 +0200
commitce2490a4d9ce990bc8c0f189bd04535b202a84e3 (patch)
treef1e9cb5fd2dd5da95932d23714be70bfa2a82014 /Makefile
parentb8ed3d8ab6ec89aefd254aac8d2b451a085c5948 (diff)
downloadxminad-ce2490a4d9ce990bc8c0f189bd04535b202a84e3.tar.gz
xminad-ce2490a4d9ce990bc8c0f189bd04535b202a84e3.tar.xz
xminad-ce2490a4d9ce990bc8c0f189bd04535b202a84e3.zip
Added taffybar - not working
Signed-off-by: Michal Minar <mic.liamg@gmail.com>
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 $@