makefiles/projets.mk

30 lines
614 B
Makefile
Raw Normal View History

2024-04-15 19:23:45 +02:00
SYNC = unison
MKDIR = mkdir -p
2024-03-07 16:36:31 +01:00
2024-04-15 16:30:15 +02:00
SMB_APPDATA = /mnt/z
2024-03-07 16:36:31 +01:00
2024-04-15 16:30:15 +02:00
HOME_WIN = /mnt/c/Users/anri
HOME_WSL = /home/anri
HOME_SMB = /mnt/y/Anri
PROJECTS = $(HOME_WSL)/Projets
2024-04-15 19:23:45 +02:00
.PHONY: cv site
2024-03-07 16:36:31 +01:00
main:
2024-04-15 16:30:15 +02:00
GJ=adBlockNot
2024-03-07 16:36:31 +01:00
gamejam:
2024-04-15 16:30:15 +02:00
@$(SYNC) $(HOME_WIN)/Documents/$(GJ) $(PROJECTS)/$(GJ)
2024-03-07 16:36:31 +01:00
cv:
2024-04-15 16:30:15 +02:00
@$(SYNC) $(HOME_SMB)/Boulot/CV $(PROJECTS)/cv
2024-04-15 19:23:45 +02:00
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