chore: reformat variables

This commit is contained in:
Mylloon 2024-04-15 16:32:31 +02:00
parent 7337590b35
commit f6e24b3ee9
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

23
univ.mk
View file

@ -1,27 +1,28 @@
SYNC = unison SYNC = unison
MKDIR = mkdir -p MKDIR = mkdir -p
WINHOME = /mnt/c/Users/anri HOME_WIN = /mnt/c/Users/anri
WSLHOME = /home/anri HOME_WSL = /home/anri
SMBMOUNT = $(WSLHOME)/deuxiemeSemestre COURS_SMB = $(HOME_WSL)/deuxiemeSemestre
UNIVDIR = $(WSLHOME)/Univ
UNIV = $(HOME_WSL)/Univ
.PHONY: stage sys_tp anglais_sql gla_projet .PHONY: stage sys_tp anglais_sql gla_projet
main: main:
stage: stage:
@$(MKDIR) $(UNIVDIR)/stage @$(MKDIR) $(UNIV)/stage
@$(SYNC) $(SMBMOUNT)/stage/rapport $(UNIVDIR)/stage/rapport @$(SYNC) $(COURS_SMB)/stage/rapport $(UNIV)/stage/rapport
@$(SYNC) $(SMBMOUNT)/stage/presentation $(UNIVDIR)/stage/presentation @$(SYNC) $(COURS_SMB)/stage/presentation $(UNIV)/stage/presentation
TP_NUM = TP10 TP_NUM = TP10
sys_tp: sys_tp:
@$(SYNC) $(SMBMOUNT)/prograSysAvancee/$(TP_NUM) $(UNIVDIR)/sys_tp @$(SYNC) $(COURS_SMB)/prograSysAvancee/$(TP_NUM) $(UNIV)/sys_tp
anglais_sql: anglais_sql:
@$(SYNC) $(SMBMOUNT)/anglais/SQL $(UNIVDIR)/anglais_sql @$(SYNC) $(COURS_SMB)/anglais/SQL $(UNIV)/anglais_sql
gla_projet: gla_projet:
@$(SYNC) $(WINHOME)/Documents/gla $(UNIVDIR)/gla_projet @$(SYNC) $(HOME_WIN)/Documents/gla $(UNIV)/gla_projet