refresh before sync
This commit is contained in:
parent
6a64c13191
commit
b96b524d21
1 changed files with 7 additions and 0 deletions
7
Makefile
7
Makefile
|
@ -1,8 +1,14 @@
|
||||||
|
# Version control
|
||||||
|
VC = git
|
||||||
|
|
||||||
# Hide some verbose messages from Make
|
# Hide some verbose messages from Make
|
||||||
MAKEFLAGS += --no-print-directory
|
MAKEFLAGS += --no-print-directory
|
||||||
|
|
||||||
all: sync
|
all: sync
|
||||||
|
|
||||||
|
refresh:
|
||||||
|
@$(VC) pull
|
||||||
|
|
||||||
# === All platforms ==
|
# === All platforms ==
|
||||||
|
|
||||||
sync-dotconfig:
|
sync-dotconfig:
|
||||||
|
@ -25,6 +31,7 @@ sync-unison:
|
||||||
# === Specific platforms ==
|
# === Specific platforms ==
|
||||||
|
|
||||||
sync:
|
sync:
|
||||||
|
@$(MAKE) refresh
|
||||||
ifeq ($(shell grep -c "archlinux" /proc/version), 1)
|
ifeq ($(shell grep -c "archlinux" /proc/version), 1)
|
||||||
# Arch
|
# Arch
|
||||||
@$(MAKE) sync-dotconfig
|
@$(MAKE) sync-dotconfig
|
||||||
|
|
Loading…
Reference in a new issue