diff --git a/Makefile b/Makefile index 9ef8c18..370640a 100644 --- a/Makefile +++ b/Makefile @@ -11,6 +11,7 @@ sync-dotconfig: @echo .config directory synced! + sync-emacs: @echo Emacs config synced! @@ -24,14 +25,14 @@ sync-unison: # === Specific platforms == sync: -ifeq ($(shell expr "uname -r" \> "archlinux"), 0) +ifeq ($(shell grep -c "archlinux" /proc/version), 1) # Arch @$(MAKE) sync-dotconfig @$(MAKE) sync-emacs @$(MAKE) sync-mozilla -else ifeq ($(shell expr "uname -r" \> "WSL2"), 0) +else ifeq ($(shell grep -c "WSL" /proc/version), 1) # WSL @$(MAKE) sync-dotconfig