diff options
author | Jesse Luehrs <doy@tozt.net> | 2022-12-01 19:18:58 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2022-12-01 19:18:58 -0500 |
commit | 4fc4ce019d28a7b65201a11773a62ccf33b65e93 (patch) | |
tree | 3765cb63f7f4d705c4c9fdd98da4c13f8f789763 /Makefile.mz-doy1 | |
parent | 0eb8998d1cec7e3a0851f16e25dfb406b3a7820b (diff) | |
download | conf-4fc4ce019d28a7b65201a11773a62ccf33b65e93.tar.gz conf-4fc4ce019d28a7b65201a11773a62ccf33b65e93.zip |
rename work hostname
Diffstat (limited to 'Makefile.mz-doy1')
-rw-r--r-- | Makefile.mz-doy1 | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/Makefile.mz-doy1 b/Makefile.mz-doy1 new file mode 100644 index 0000000..dcf63f8 --- /dev/null +++ b/Makefile.mz-doy1 @@ -0,0 +1,36 @@ +SKIP_SERVICES := \ + mbsyncloop \ + mpd + +INSTALL := \ + .config/alacritty/alacritty.yml \ + .config/i3/browser-workspace.json \ + .config/i3/config \ + .config/i3/terminal-workspace.json \ + .config/i3status/config \ + .xbindkeysrc \ + .Xdefaults \ + .xinitrc \ + .xprofile \ + .Xmodmap \ + $(patsubst %,.%,$(wildcard services/available/*/run)) \ + $(patsubst %,.%,$(wildcard services/available/*/log/run)) + +EMPTYDIRS := \ + $(patsubst services/available/%,.log/%,$(filter-out $(patsubst %,\%/%,$(SKIP_SERVICES)),$(wildcard services/available/*))) + +INSTALL_CUSTOM := \ + $(patsubst services/available/%,$(INTO)/.services/enabled/%,$(filter-out $(patsubst %,\%/%,$(SKIP_SERVICES)),$(wildcard services/available/*))) + +BUILD := \ + config/alacritty/alacritty.yml + +$(INTO)/.services/enabled : + $(MKDIR) $@ + +$(INTO)/.services/enabled/% : services/available/% $(INTO)/.services/enabled + $(MKDIR) $(dir $<) + $(LN) ../available/$(notdir $<) $@ + +config/alacritty/alacritty.yml : config/alacritty/alacritty.yml.mz-doy1 + $(LN) $(notdir $<) $@ |