From 6a613d61dc235cd855bc5873b97a9f5cbd140894 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 4 Jan 2021 19:23:03 -0800 Subject: make: split between Darwin and Linux There's a few things that are relevant to both OS, but there's also a bunch of stuff specific to Linux. Split the file to make it easier to maintain / read. Also add a new gitconfig file to be included depending on the OS: since Darwin is for work, let's use work email there, and personal email for Linux. --- Makefile.linux | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Makefile.linux (limited to 'Makefile.linux') diff --git a/Makefile.linux b/Makefile.linux new file mode 100644 index 0000000..256cd33 --- /dev/null +++ b/Makefile.linux @@ -0,0 +1,19 @@ +.PHONY: install-linux-symlinks +install-linux-symlinks: install-general + @mkdir -p $(HOME)/.config + @mkdir -p $(HOME)/.config/systemd + $(LN) $(PWD)/Xmodmap $(HOME)/.Xmodmap + $(LN) $(PWD)/Xresources $(HOME)/.Xresources + $(LN) $(PWD)/config/alacritty $(HOME)/.config/ + $(LN) $(PWD)/config/i3/ $(HOME)/.config/ + $(LN) $(PWD)/config/mpd/ $(HOME)/.config/ + $(LN) $(PWD)/config/redshift.conf $(HOME)/.config/redshift.conf + $(LN) $(PWD)/config/systemd/user/backup.service $(HOME)/.config/systemd/user/backup.service + $(LN) $(PWD)/config/systemd/user/ssh-agent.service $(HOME)/.config/systemd/user/ssh-agent.service + $(LN) $(PWD)/config/user-dirs.dirs $(HOME)/.config/user-dirs.dirs + $(LN) $(PWD)/emacs.d/ $(HOME)/.config/ + $(LN) $(PWD)/gitconfig.personal $(HOME)/.gitconfig.private + $(LN) $(PWD)/pam_environment $(HOME)/.pam_environment + $(LN) $(PWD)/xsession $(HOME)/.xsession + +install: install-linux-symlinks -- cgit 1.4.1