diff --git a/projets.mk b/projets.mk index 9e0c5aa..08c0f98 100644 --- a/projets.mk +++ b/projets.mk @@ -1,4 +1,5 @@ -SYNC = unison +SYNC = unison +MKDIR = mkdir -p SMB_APPDATA = /mnt/z @@ -9,7 +10,7 @@ HOME_SMB = /mnt/y/Anri PROJECTS = $(HOME_WSL)/Projets -.PHONY: blog cv +.PHONY: cv site main: @@ -20,5 +21,9 @@ gamejam: cv: @$(SYNC) $(HOME_SMB)/Boulot/CV $(PROJECTS)/cv -blog: - @$(SYNC) $(SMB_APPDATA)/site/data/blog $(PROJECTS)/blog +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