From b96b524d21539ad49bdebf07973d879e69366e4e Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sun, 19 Mar 2023 19:17:26 +0100 Subject: [PATCH] refresh before sync --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile b/Makefile index 370640a..69ce6fd 100644 --- a/Makefile +++ b/Makefile @@ -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