diff options
author | Suleyman Farajli <suleyman@farajli.net> | 2024-08-10 18:35:41 +0400 |
---|---|---|
committer | Suleyman Farajli <suleyman@farajli.net> | 2024-08-10 18:35:41 +0400 |
commit | dfbc4fa7293c8da46cb17a66c1682ec0e1a817c1 (patch) | |
tree | 6cd98356a40d2f7e8b4178819735f9da8a5ee43b /Makefile | |
parent | 5af2fb46368ea6a45e6dd334402efe03546f7ecf (diff) |
Desktop builds added
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 27 |
1 files changed, 23 insertions, 4 deletions
@@ -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 |