rename project->perso

This commit is contained in:
Mylloon 2024-04-17 13:42:50 +02:00
parent 626b52c6a9
commit 92ce53c860
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
3 changed files with 32 additions and 32 deletions

View file

@ -1,12 +1,12 @@
VC = git VC = git
CP = cp -rv CP = cp -rv
PROJET = ~/Projets PERSO = ~/Perso
UNIV = ~/Univ UNIV = ~/Univ
main: main:
sync: sync:
@$(VC) pull @$(VC) pull
@$(CP) projets.mk $(PROJET)/Makefile @$(CP) projets.mk $(PERSO)/Makefile
@$(CP) univ.mk $(UNIV)/Makefile @$(CP) univ.mk $(UNIV)/Makefile

29
perso.mk Normal file
View file

@ -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

View file

@ -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