From 80a81aefbbc2fcd93803f47a34ae5620f4c7a8cb Mon Sep 17 00:00:00 2001 From: Erwan Normand Date: Tue, 25 Jun 2024 11:14:30 +0200 Subject: [PATCH] Remove Makefile --- Makefile | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 Makefile diff --git a/Makefile b/Makefile deleted file mode 100644 index 7ab2888..0000000 --- a/Makefile +++ /dev/null @@ -1,37 +0,0 @@ -.PHONY: all viewpdf pdf clean - -TARGET = main -SOURCE_FILES = $(TARGET).tex $(wildcard */*.tex) -BIB_FILES = $(wildcard biblio/*.bib) -FIGURES = $(wildcard */figures/*) -COMPILE_ALL = "" - -# Set the pdf reader according to the operating system -OS = $(shell uname) -ifeq ($(OS), Darwin) - PDF_READER = open -endif -ifeq ($(OS), Linux) - PDF_READER = evince -endif - -all: pdf - -full: COMPILE_ALL=True -full: all - -viewpdf: pdf - $(PDF_READER) $(TARGET).pdf & - -pdf: $(TARGET).pdf - -$(TARGET).pdf: $(SOURCE_FILES) $(BIB_FILES) $(FIGURES) these-dbl.cls - COMPILE_ALL=$(COMPILE_ALL) pdflatex -interaction=nonstopmode -jobname=$(TARGET) $(SOURCE_FILES) - biber $(TARGET) - COMPILE_ALL=$(COMPILE_ALL) pdflatex -interaction=nonstopmode -jobname=$(TARGET) $(SOURCE_FILES) # For biber - -clean: - rm -f $(TARGET).{ps,pdf,bcf,run.xml} - for suffix in dvi aux bbl blg toc ind out brf ilg idx synctex.gz log; do \ - find . -type d -name ".git" -prune -o -type f -name "*.$${suffix}" -print -exec rm {} \; ; \ - done