var name changes

This commit is contained in:
Mylloon 2024-04-20 21:23:40 +02:00
parent 9ebd5e0a2d
commit 00ca8babbb
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -15,7 +15,7 @@ LDFLAGS =
EXE = ordonnanceur EXE = ordonnanceur
EXE_EXT = .elf EXE_EXT = .elf
ARCHIVE = kennel ARCHIVE_NAME = kennel
PDF_DIR = report PDF_DIR = report
PDF_NEWNAME = Rapport de projet PDF_NEWNAME = Rapport de projet
@ -45,11 +45,11 @@ pdf-clean:
$(MAKE) clean $(MAKE) clean
clean: pdf-clean clean: pdf-clean
$(RM) $(OBJETS) "$(EXE)$(EXE_EXT)" "$(ARCHIVE).tar" $(RM) $(OBJETS) "$(EXE)$(EXE_EXT)" "$(ARCHIVE_NAME).tar"
archive: pdf-make archive: pdf-make
$(MKDIR) "$(ARCHIVE)" $(MKDIR) "$(ARCHIVE_NAME)"
$(CP) "$(SRC_DIR)" "$(INC_DIR)" Makefile README "$(ARCHIVE)" $(CP) "$(SRC_DIR)" "$(INC_DIR)" Makefile README "$(ARCHIVE_NAME)"
$(CP) "$(wildcard $(PDF_DIR)/*.pdf)" "$(ARCHIVE)/$(PDF_NEWNAME).pdf" $(CP) "$(wildcard $(PDF_DIR)/*.pdf)" "$(ARCHIVE_NAME)/$(PDF_NEWNAME).pdf"
$(TAR) "$(ARCHIVE).tar" "$(ARCHIVE)" $(TAR) "$(ARCHIVE_NAME).tar" "$(ARCHIVE_NAME)"
$(RM) "$(ARCHIVE)" $(RM) "$(ARCHIVE_NAME)"