diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 $@ |