makefiles/perso.mk

50 lines
894 B
Makefile
Raw Permalink 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
2024-05-11 15:20:52 +02:00
.PHONY: cv site site-blog site-contacts site-portfolio youtube wifi
all:
2024-04-17 13:42:50 +02:00
GJ=adBlockNot
gamejam:
2024-04-29 20:41:53 +02:00
@$(SYNC) "$(HOME_WIN)/Documents/$(GJ)" "$(DIR)/$(GJ)"
2024-04-17 13:42:50 +02:00
2024-05-11 15:20:52 +02:00
2024-04-17 13:42:50 +02:00
cv:
2024-04-29 20:41:53 +02:00
@$(SYNC) "$(HOME_SMB)/Boulot/CV" "$(DIR)/cv"
2024-04-17 13:42:50 +02:00
2024-05-11 15:20:52 +02:00
2024-04-17 13:42:50 +02:00
site:
@$(MKDIR) site
2024-04-29 20:41:53 +02:00
@$(SYNC) "$(SMB_APPDATA)/site/data/index.md" "$(DIR)/site/index.md"
2024-05-11 15:20:52 +02:00
$(MAKE) site-blog
$(MAKE) site-contacts
$(MAKE) site-portfolio
site-blog:
2024-04-29 20:41:53 +02:00
@$(SYNC) "$(SMB_APPDATA)/site/data/blog" "$(DIR)/site/blog"
2024-05-11 15:20:52 +02:00
site-contacts:
2024-04-29 20:41:53 +02:00
@$(SYNC) "$(SMB_APPDATA)/site/data/contacts" "$(DIR)/site/networks"
2024-05-11 15:20:52 +02:00
site-portfolio:
2024-04-29 20:41:53 +02:00
@$(SYNC) "$(SMB_APPDATA)/site/data/projects" "$(DIR)/site/portfolio"
2024-04-29 20:41:57 +02:00
2024-05-11 15:20:52 +02:00
2024-04-29 20:41:57 +02:00
youtube:
@$(SYNC) "$(HOME_SMB)/Streaming/YouTube" "$(DIR)/YouTube"
2024-05-11 12:11:33 +02:00
2024-05-11 15:20:52 +02:00
2024-05-11 12:11:33 +02:00
wifi:
@$(SYNC) "$(HOME_SMB)/Autres/wifi" "$(DIR)/wifi"