From ce2490a4d9ce990bc8c0f189bd04535b202a84e3 Mon Sep 17 00:00:00 2001 From: Michal Minar Date: Tue, 25 Aug 2015 07:22:24 +0200 Subject: Added taffybar - not working Signed-off-by: Michal Minar --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Makefile') 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 $@ -- cgit