split refresh and sync

This commit is contained in:
Mylloon 2023-03-19 19:18:19 +01:00
parent b96b524d21
commit d8f2af878b
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -4,11 +4,15 @@ VC = git
# Hide some verbose messages from Make
MAKEFLAGS += --no-print-directory
all: sync
all: full-sync
refresh:
@$(VC) pull
full-sync:
@$(MAKE) refresh
@$(MAKE) sync
# === All platforms ==
sync-dotconfig:
@ -31,7 +35,6 @@ sync-unison:
# === Specific platforms ==
sync:
@$(MAKE) refresh
ifeq ($(shell grep -c "archlinux" /proc/version), 1)
# Arch
@$(MAKE) sync-dotconfig