split site update into multiple target

This commit is contained in:
Mylloon 2024-05-11 15:20:52 +02:00
parent 3e801b31f2
commit aa90b2478f
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -10,26 +10,40 @@ HOME_SMB = /mnt/y/Anri
DIR = $(HOME_WSL)/Perso DIR = $(HOME_WSL)/Perso
.PHONY: cv site wifi .PHONY: cv site site-blog site-contacts site-portfolio youtube wifi
all:
main:
GJ=adBlockNot GJ=adBlockNot
gamejam: gamejam:
@$(SYNC) "$(HOME_WIN)/Documents/$(GJ)" "$(DIR)/$(GJ)" @$(SYNC) "$(HOME_WIN)/Documents/$(GJ)" "$(DIR)/$(GJ)"
cv: cv:
@$(SYNC) "$(HOME_SMB)/Boulot/CV" "$(DIR)/cv" @$(SYNC) "$(HOME_SMB)/Boulot/CV" "$(DIR)/cv"
site: site:
@$(MKDIR) site @$(MKDIR) site
@$(SYNC) "$(SMB_APPDATA)/site/data/index.md" "$(DIR)/site/index.md" @$(SYNC) "$(SMB_APPDATA)/site/data/index.md" "$(DIR)/site/index.md"
$(MAKE) site-blog
$(MAKE) site-contacts
$(MAKE) site-portfolio
site-blog:
@$(SYNC) "$(SMB_APPDATA)/site/data/blog" "$(DIR)/site/blog" @$(SYNC) "$(SMB_APPDATA)/site/data/blog" "$(DIR)/site/blog"
site-contacts:
@$(SYNC) "$(SMB_APPDATA)/site/data/contacts" "$(DIR)/site/networks" @$(SYNC) "$(SMB_APPDATA)/site/data/contacts" "$(DIR)/site/networks"
site-portfolio:
@$(SYNC) "$(SMB_APPDATA)/site/data/projects" "$(DIR)/site/portfolio" @$(SYNC) "$(SMB_APPDATA)/site/data/projects" "$(DIR)/site/portfolio"
youtube: youtube:
@$(SYNC) "$(HOME_SMB)/Streaming/YouTube" "$(DIR)/YouTube" @$(SYNC) "$(HOME_SMB)/Streaming/YouTube" "$(DIR)/YouTube"
wifi: wifi:
@$(SYNC) "$(HOME_SMB)/Autres/wifi" "$(DIR)/wifi" @$(SYNC) "$(HOME_SMB)/Autres/wifi" "$(DIR)/wifi"