makefiles/perso.mk
2024-04-17 13:42:50 +02:00

29 lines
572 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
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/DIR $(DIR)/site/portfolio