split refresh and sync
This commit is contained in:
parent
b96b524d21
commit
d8f2af878b
1 changed files with 5 additions and 2 deletions
7
Makefile
7
Makefile
|
@ -4,11 +4,15 @@ 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: full-sync
|
||||||
|
|
||||||
refresh:
|
refresh:
|
||||||
@$(VC) pull
|
@$(VC) pull
|
||||||
|
|
||||||
|
full-sync:
|
||||||
|
@$(MAKE) refresh
|
||||||
|
@$(MAKE) sync
|
||||||
|
|
||||||
# === All platforms ==
|
# === All platforms ==
|
||||||
|
|
||||||
sync-dotconfig:
|
sync-dotconfig:
|
||||||
|
@ -31,7 +35,6 @@ 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