summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSuleyman Farajli <suleyman@farajli.net>2024-08-10 18:35:41 +0400
committerSuleyman Farajli <suleyman@farajli.net>2024-08-10 18:35:41 +0400
commitdfbc4fa7293c8da46cb17a66c1682ec0e1a817c1 (patch)
tree6cd98356a40d2f7e8b4178819735f9da8a5ee43b /Makefile
parent5af2fb46368ea6a45e6dd334402efe03546f7ecf (diff)
Desktop builds added
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile27
1 files changed, 23 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 317378b..4a72b98 100644
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,9 @@ GITCONFIG=$(HOME)/.gitconfig
COPY=cp -r
LINK=ln -sf
-all: config scripts
+all:
+
+full: config scripts git desktop directory
config:
mkdir -p $(CONFDIR)
@@ -37,6 +39,8 @@ config:
$(LINK) $(CONFDIR)/shell/profile $(BASHPROFILE)
$(LINK) $(CONFDIR)/shell/profile $(ZPROFILE)
+desktop: dwm st dmenu
+
git:
$(COPY) config/git/gitconfig $(GITCONFIG)
@@ -52,6 +56,21 @@ server:
$(COPY) config/shell $(CONFDIR)
$(COPY) config/vim $(CONFDIR)
+dwm: clean
+ curl -LO https://farajli.net/software/dwm.tar.gz
+ tar xf dwm.tar.gz
+ cd dwm/; PREFIX="${HOME}"/.local make install
+
+st: clean
+ curl -LO https://farajli.net/software/st.tar.gz
+ tar xf st.tar.gz
+ cd st/; PREFIX="${HOME}"/.local make install
+
+dmenu: clean
+ curl -LO https://farajli.net/software/dmenu.tar.gz
+ tar xf dmenu.tar.gz
+ cd dmenu/; PREFIX="${HOME}"/.local make install
+
arch-linux:
sudo $(COPY) distros/arch-linux/pacman.conf /etc
@@ -62,7 +81,7 @@ directory:
$(BOOKDIR) \
$(TESTPROJDIR) \
$(BINDIR)
+clean:
+ rm -rf dwm st dmenu dwm.tar.gz st.tar.gz dmenu.tar.gz
-
-
-.PHONY: all config scripts server arch-linux directory
+.PHONY: all config scripts server desktop arch-linux directory dwm st dmenu clean full