From cd3ca3fcd2e5121b197fc67504b637b301c30044 Mon Sep 17 00:00:00 2001
From: Joel Grunbaum <joelgrun@gmail.com>
Date: Mon, 01 Jun 2020 12:33:02 +0000
Subject: [PATCH] Broke the makefile into groups, added bashrc

---
 Makefile |   35 ++++++++++++++++++++++++++++++++++-
 1 files changed, 34 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index 690ec6d..0575e03 100644
--- a/Makefile
+++ b/Makefile
@@ -17,7 +17,12 @@
 UNINSTALL_TARGETS = $(TARGETS:=-uninstall)
 
 # List of all applications with stored dotfiles
-CONFIGS = aspell emacs git libinput-gestures mailcap mpd ncmpcpp rtv shells wallpaper-reddit zsh
+SHELLS = bash zsh all-shells
+UTILS = emacs git aspell
+FUN = mpd ncmpcpp mailcap rtv
+DESKTOP = libinput-gestures wallpaper-reddit
+
+CONFIGS = $(SHELLS) $(UTILS) $(FUN) $(DESKTOP)
 
 all: help
 
@@ -28,6 +33,30 @@
 .PHONY: $(CONFIGS:=-del)
 $(CONFIGS:=-del):
 	$(STOW) --delete -t $(HOME) $(@:-del=)
+
+.PHONY: shells
+shells: $(SHELLS)
+
+.PHONY: shells-uninstall
+shells-uninstall: $(SHELLS:=-del)
+
+.PHONY: utils
+utils: $(UTILS)
+
+.PHONY: utils-uninstall
+utils-uninstall: $(UTILS:=-del)
+
+.PHONY: fun
+fun: $(FUN)
+
+.PHONY: fun-uninstall
+fun-uninstall: $(FUN:=-del)
+
+.PHONY: desktop
+desktop: $(DESKTOP)
+
+.PHONY: desktop-uninstall
+desktop-uninstall: $(DESKTOP:=-del)
 
 .PHONY: $(INSTALL_TARGETS)
 $(INSTALL_TARGETS): $(CONFIGS)
@@ -40,3 +69,7 @@
 	$(ECHO) 'use make "target"'
 	$(ECHO) 'targets:'
 	$(ECHO)	'	home(-uninstall)'
+	$(ECHO) '	shells(-uninstall)'
+	$(ECHO) '	utils(-uninstall)'
+	$(ECHO) '	fun(-uninstall)'
+	$(ECHO) '	desktop(-uninstall)'

--
Gitblit v1.9.3