makefiles/perso.mk

30 lines
577 B
Makefile
Raw Normal View History

2024-04-17 13:42:50 +02:00
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
2024-04-17 13:47:12 +02:00
@$(SYNC) $(SMB_APPDATA)/site/data/projects $(DIR)/site/portfolio