refresh before sync

This commit is contained in:
Mylloon 2023-03-19 19:17:26 +01:00
parent 6a64c13191
commit b96b524d21
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

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