change makefile

This commit is contained in:
randomuser 2022-11-27 20:12:11 +00:00
parent be04461863
commit 2f31ef10d7
1 changed files with 13 additions and 15 deletions

View File

@ -1,35 +1,33 @@
LOCATION="$(HOME)/.config" LOCATION="$(HOME)/.config"
DATA="$(HOME)/.local/share" DATA="$(HOME)/.local/share"
install_local: location_setup install_bspwm install_nvim install_sx install_sxhkd install_zathura install_simplestatus install_bash install_ssh install_git install_tridactyl install_htop install_python install_local: location_setup install_bspwm install_nvim install_sx install_sxhkd install_zathura install_bash install_ssh install_git install_tridactyl install_htop install_python
firefox: .firefox_env firefox: .firefox_env
install: .environment install: .environment
location_setup: location_setup:
mkdir -p $(LOCATION) $(DATA) mkdir -p $(LOCATION)/
install_bspwm: install_bspwm:
ln -sf $(CURDIR)/bspwm $(LOCATION)/bspwm ln -sf $(CURDIR)/bspwm $(LOCATION)/
install_nvim: install_nvim:
ln -sf $(CURDIR)/nvim $(LOCATION)/nvim ln -sf $(CURDIR)/nvim $(LOCATION)/
install_sx: install_sx:
ln -sf $(CURDIR)/sx $(LOCATION)/sx ln -sf $(CURDIR)/sx $(LOCATION)/
install_sxhkd: install_sxhkd:
ln -sf $(CURDIR)/sxhkd $(LOCATION)/sxhkd ln -sf $(CURDIR)/sxhkd $(LOCATION)/
install_zathura: install_zathura:
ln -sf $(CURDIR)/zathura $(LOCATION)/zathura ln -sf $(CURDIR)/zathura $(LOCATION)/
install_simplestatus:
ln -sf $(CURDIR)/simplestatus $(LOCATION)/simplestatus
install_bash: install_bash:
ln -sf $(CURDIR)/bash $(LOCATION)/bash ln -sf $(CURDIR)/bash $(LOCATION)/
install_ssh: install_ssh:
ln -sf $(CURDIR)/ssh $(LOCATION)/ssh ln -sf $(CURDIR)/ssh $(LOCATION)/
install_git: install_git:
ln -sf $(CURDIR)/git $(LOCATION)/git ln -sf $(CURDIR)/git $(LOCATION)/
install_tridactyl: install_tridactyl:
ln -sf $(CURDIR)/tridactyl $(LOCATION)/tridactyl ln -sf $(CURDIR)/tridactyl $(LOCATION)/
install_htop: install_htop:
ln -sf $(CURDIR)/htop $(LOCATION)/htop ln -sf $(CURDIR)/htop $(LOCATION)/
install_python: install_python:
ln -sf $(CURDIR)/python $(LOCATION)/python ln -sf $(CURDIR)/python $(LOCATION)/
.environment: .environment:
sh environ sh environ
.firefox_env: .firefox_env: