From 92ce53c860bb3b1c87e0b75b57ba2caf715df34f Mon Sep 17 00:00:00 2001 From: Mylloon Date: Wed, 17 Apr 2024 13:42:50 +0200 Subject: [PATCH] rename project->perso --- Makefile | 6 +++--- perso.mk | 29 +++++++++++++++++++++++++++++ projets.mk | 29 ----------------------------- 3 files changed, 32 insertions(+), 32 deletions(-) create mode 100644 perso.mk delete mode 100644 projets.mk diff --git a/Makefile b/Makefile index e6a4416..fe85a05 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,12 @@ VC = git CP = cp -rv -PROJET = ~/Projets -UNIV = ~/Univ +PERSO = ~/Perso +UNIV = ~/Univ main: sync: @$(VC) pull - @$(CP) projets.mk $(PROJET)/Makefile + @$(CP) projets.mk $(PERSO)/Makefile @$(CP) univ.mk $(UNIV)/Makefile diff --git a/perso.mk b/perso.mk new file mode 100644 index 0000000..7352b68 --- /dev/null +++ b/perso.mk @@ -0,0 +1,29 @@ +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 + @$(SYNC) $(SMB_APPDATA)/site/data/DIR $(DIR)/site/portfolio diff --git a/projets.mk b/projets.mk deleted file mode 100644 index 08c0f98..0000000 --- a/projets.mk +++ /dev/null @@ -1,29 +0,0 @@ -SYNC = unison -MKDIR = mkdir -p - -SMB_APPDATA = /mnt/z - -HOME_WIN = /mnt/c/Users/anri -HOME_WSL = /home/anri -HOME_SMB = /mnt/y/Anri - -PROJECTS = $(HOME_WSL)/Projets - - -.PHONY: cv site - -main: - -GJ=adBlockNot -gamejam: - @$(SYNC) $(HOME_WIN)/Documents/$(GJ) $(PROJECTS)/$(GJ) - -cv: - @$(SYNC) $(HOME_SMB)/Boulot/CV $(PROJECTS)/cv - -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