From f6e24b3ee93dc8714923625358aaa76b478abaf1 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Mon, 15 Apr 2024 16:32:31 +0200 Subject: [PATCH] chore: reformat variables --- univ.mk | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/univ.mk b/univ.mk index 438aab3..09a1d2f 100644 --- a/univ.mk +++ b/univ.mk @@ -1,27 +1,28 @@ SYNC = unison MKDIR = mkdir -p -WINHOME = /mnt/c/Users/anri -WSLHOME = /home/anri -SMBMOUNT = $(WSLHOME)/deuxiemeSemestre -UNIVDIR = $(WSLHOME)/Univ +HOME_WIN = /mnt/c/Users/anri +HOME_WSL = /home/anri +COURS_SMB = $(HOME_WSL)/deuxiemeSemestre + +UNIV = $(HOME_WSL)/Univ + .PHONY: stage sys_tp anglais_sql gla_projet main: - stage: - @$(MKDIR) $(UNIVDIR)/stage - @$(SYNC) $(SMBMOUNT)/stage/rapport $(UNIVDIR)/stage/rapport - @$(SYNC) $(SMBMOUNT)/stage/presentation $(UNIVDIR)/stage/presentation + @$(MKDIR) $(UNIV)/stage + @$(SYNC) $(COURS_SMB)/stage/rapport $(UNIV)/stage/rapport + @$(SYNC) $(COURS_SMB)/stage/presentation $(UNIV)/stage/presentation TP_NUM = TP10 sys_tp: - @$(SYNC) $(SMBMOUNT)/prograSysAvancee/$(TP_NUM) $(UNIVDIR)/sys_tp + @$(SYNC) $(COURS_SMB)/prograSysAvancee/$(TP_NUM) $(UNIV)/sys_tp anglais_sql: - @$(SYNC) $(SMBMOUNT)/anglais/SQL $(UNIVDIR)/anglais_sql + @$(SYNC) $(COURS_SMB)/anglais/SQL $(UNIV)/anglais_sql gla_projet: - @$(SYNC) $(WINHOME)/Documents/gla $(UNIVDIR)/gla_projet + @$(SYNC) $(HOME_WIN)/Documents/gla $(UNIV)/gla_projet