makefiles/projets.mk
2024-04-15 19:23:45 +02:00

29 lines
614 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
PROJECTS = $(HOME_WSL)/Projets
.PHONY: cv site
main:
GJ=adBlockNot
gamejam:
@$(SYNC) $(HOME_WIN)/Documents/$(GJ) $(PROJECTS)/$(GJ)
cv:
@$(SYNC) $(HOME_SMB)/Boulot/CV $(PROJECTS)/cv
site:
@$(MKDIR) site
@$(SYNC) $(SMB_APPDATA)/site/data/index.md $(PROJECTS)/site/index.md
@$(SYNC) $(SMB_APPDATA)/site/data/blog $(PROJECTS)/site/blog
@$(SYNC) $(SMB_APPDATA)/site/data/contacts $(PROJECTS)/site/networks
@$(SYNC) $(SMB_APPDATA)/site/data/projects $(PROJECTS)/site/portfolio