From f86690f5bd27074a1784c65fffaaa7974c214e3d Mon Sep 17 00:00:00 2001 From: Joel Grunbaum <joelgrun@gmail.com> Date: Thu, 23 Dec 2021 04:09:56 +0000 Subject: [PATCH] Shift from make and stow to shell script to install --- Makefile | 15 ++++++++++++++- 1 files changed, 14 insertions(+), 1 deletions(-) diff --git a/Makefile b/Makefile index 5ac56b6..c00e067 100644 --- a/Makefile +++ b/Makefile @@ -21,8 +21,9 @@ UTILS = emacs git aspell FUN = mpd ncmpcpp mailcap rtv DESKTOP = libinput-gestures reddit-wallpaper-fetcher +ARCH = paru -CONFIGS = $(SHELLS) $(UTILS) $(FUN) $(DESKTOP) +CONFIGS = $(SHELLS) $(UTILS) $(FUN) $(DESKTOP) $(ARCH) all: help @@ -36,6 +37,12 @@ .PHONY: emacs emacs: + git submodule update --init + $(STOW) -t $(HOME) $@ + +.PHONY: zsh +zsh: + mkdir -p ~/.zsh git submodule update --init $(STOW) -t $(HOME) $@ @@ -71,6 +78,12 @@ .PHONY: desktop-uninstall desktop-uninstall: $(DESKTOP:=-del) +.PHONY: arch +arch: $(ARCH) + +.PHONY: arch-uninstall +arch-uninstall: $(ARCH:=-del) + .PHONY: $(INSTALL_TARGETS) $(INSTALL_TARGETS): $(CONFIGS) -- Gitblit v1.9.3