summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSuleyman Farajli <suleyman@farajli.net>2025-06-21 21:43:59 +0400
committerSuleyman Farajli <suleyman@farajli.net>2025-06-21 21:43:59 +0400
commit5615583a87a625764a0941b19e6629127851b881 (patch)
tree1d26c1d46a6ed6b262e874ee5396d20dccf50a5c /Makefile
parenta9dee19196765311d0d8878aaa20e480cb1c88d5 (diff)
parent75911c83ea3b8123093071574746d2bbdadb2653 (diff)
Merge branch 'dev'
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile43
1 files changed, 23 insertions, 20 deletions
diff --git a/Makefile b/Makefile
index ad2fc39..4ecdfc6 100644
--- a/Makefile
+++ b/Makefile
@@ -1,56 +1,59 @@
.POSIX:
-DWM = dwm-farajli-6.5
-ST = st-farajli-0.9.2
DMENU = dmenu-farajli-5.3
-SLSTATUS = slstatus-farajli-1.0
+DWM = dwm-farajli-6.5
FONT1 = LiberationMono
FONT2 = JetBrainsMono
+SLSTATUS = slstatus-farajli-1.0
+ST = st-farajli-0.9.2
-SOFTWARE = $(DWM) $(DMENU) $(SLSTATUS) $(ST)
FONTS = $(FONT1) $(FONT2)
+SOFTWARE = $(DWM) $(DMENU) $(SLSTATUS) $(ST)
ARCHIVE = $(SOFTWARE:=.tar.gz) $(FONTS:=.tar.gz)
+BINDIR = $(HOME)/.local/bin
+BOOKDIR = $(HOME)/tproj
CONFDIR = $(HOME)/.config
+FONTDIR = $(HOME)/.local/share/fonts/
MUSICDIR = $(HOME)/music
PROJDIR = $(HOME)/proj
-BOOKDIR = $(HOME)/tproj
TESTPROJDIR = $(HOME)/tproj
-BINDIR = $(HOME)/.local/bin
-FONTDIR = $(HOME)/.local/share/fonts/
-BASHRC = $(HOME)/.bashrc
-ZSHRC = $(HOME)/.zshrc
-ZPROFILE = $(HOME)/.zprofile
BASHPROFILE = $(HOME)/.bash_profile
+BASHRC = $(HOME)/.bashrc
GITCONFIG = $(HOME)/.gitconfig
+ZCACHE = $(HOME)/.cache/zsh/history
+ZPROFILE = $(HOME)/.zprofile
+ZSHRC = $(HOME)/.zshrc
COPY = cp -r
LINK = ln -sf
-all: config scripts directory
+all: config directory scripts
-full: config scripts directory desktop
+full: config desktop directory scripts
-desktop: dmenu-install dwm-install slstatus-install st-install font1-install font2-install check
+desktop: dmenu-install dwm-install font1-install font2-install check slstatus-install st-install
config:
- mkdir -p $(CONFDIR)/sites
+ mkdir -p $$(dirname $(ZCACHE))
+ mkdir -p $(CONFDIR)/sites
+ touch $(ZCACHE)
$(COPY) config/bash/bashrc $(BASHRC)
- $(COPY) config/zsh/zshrc $(ZSHRC)
$(COPY) config/lf $(CONFDIR)
+ $(COPY) config/mimeapps.list $(CONFDIR)
$(COPY) config/mpv $(CONFDIR)
- $(COPY) config/sxiv $(CONFDIR)
$(COPY) config/nsxiv $(CONFDIR)
+ $(COPY) config/nvim $(CONFDIR)
$(COPY) config/picom $(CONFDIR)
$(COPY) config/qutebrowser $(CONFDIR)
$(COPY) config/shell $(CONFDIR)
+ $(COPY) config/sites/bookmarks.txt $(CONFDIR)/sites
+ $(COPY) config/sxiv $(CONFDIR)
$(COPY) config/vim $(CONFDIR)
- $(COPY) config/nvim $(CONFDIR)
$(COPY) config/x11 $(CONFDIR)
$(COPY) config/zathura $(CONFDIR)
- $(COPY) config/mimeapps.list $(CONFDIR)
- $(COPY) config/sites/bookmarks.txt $(CONFDIR)/sites
+ $(COPY) config/zsh/zshrc $(ZSHRC)
$(LINK) $(CONFDIR)/shell/profile $(BASHPROFILE)
$(LINK) $(CONFDIR)/shell/profile $(ZPROFILE)
@@ -69,10 +72,10 @@ scripts:
server:
$(COPY) config/bash/bashrc $(BASHRC)
- $(COPY) config/zsh/zshrc $(ZSHRC)
$(COPY) config/lf $(CONFDIR)
$(COPY) config/shell $(CONFDIR)
$(COPY) config/vim $(CONFDIR)
+ $(COPY) config/zsh/zshrc $(ZSHRC)
$(COPY) scripts/noc
arch-linux: