35 lines
732 B
Makefile
35 lines
732 B
Makefile
SYNC = unison
|
|
MKDIR = mkdir -p
|
|
|
|
SMB_APPDATA = /mnt/z
|
|
|
|
HOME_WIN = /mnt/c/Users/anri
|
|
HOME_WSL = /home/anri
|
|
HOME_SMB = /mnt/y/Anri
|
|
|
|
DIR = $(HOME_WSL)/Perso
|
|
|
|
|
|
.PHONY: cv site wifi
|
|
|
|
main:
|
|
|
|
GJ=adBlockNot
|
|
gamejam:
|
|
@$(SYNC) "$(HOME_WIN)/Documents/$(GJ)" "$(DIR)/$(GJ)"
|
|
|
|
cv:
|
|
@$(SYNC) "$(HOME_SMB)/Boulot/CV" "$(DIR)/cv"
|
|
|
|
site:
|
|
@$(MKDIR) site
|
|
@$(SYNC) "$(SMB_APPDATA)/site/data/index.md" "$(DIR)/site/index.md"
|
|
@$(SYNC) "$(SMB_APPDATA)/site/data/blog" "$(DIR)/site/blog"
|
|
@$(SYNC) "$(SMB_APPDATA)/site/data/contacts" "$(DIR)/site/networks"
|
|
@$(SYNC) "$(SMB_APPDATA)/site/data/projects" "$(DIR)/site/portfolio"
|
|
|
|
youtube:
|
|
@$(SYNC) "$(HOME_SMB)/Streaming/YouTube" "$(DIR)/YouTube"
|
|
|
|
wifi:
|
|
@$(SYNC) "$(HOME_SMB)/Autres/wifi" "$(DIR)/wifi"
|