[FIX] Use yay without prompting user

I use the YAY variable to avoid repetition.
This commit is contained in:
Bruno BELANYI 2020-08-22 20:47:33 +02:00
parent 9107dad1e2
commit 2779a6c32b

View file

@ -107,6 +107,8 @@ HASKELL_DEPENDENCIES := \
STOW_TARGET := $(HOME) STOW_TARGET := $(HOME)
STOW = stow -t $(STOW_TARGET) -R -v STOW = stow -t $(STOW_TARGET) -R -v
YAY := yay -S --noconfirm
.PHONY: all .PHONY: all
all: install all: install
@ -123,11 +125,11 @@ install: link-visual
.PHONY: install-cli-deps .PHONY: install-cli-deps
install-cli-deps: install-cli-deps:
yay -S $(CLI_DEPENDENCIES) $(YAY) $(CLI_DEPENDENCIES)
.PHONY: install-visual-deps .PHONY: install-visual-deps
install-visual-deps: install-visual-deps:
yay -S $(VISUAL_DEPENDENCIES) $(YAY) $(VISUAL_DEPENDENCIES)
# Linking packages # Linking packages
.PHONY: link-all .PHONY: link-all