d73ff9b0fb
Deploy Site / deploy-vercel (push) Has been cancelled
Deploy Site / deploy-docs (push) Has been cancelled
Docker / shell lint / Lint Dockerfile (hadolint) (push) Has been cancelled
Docker / shell lint / Lint docker/ shell scripts (shellcheck) (push) Has been cancelled
Docker Build and Publish / build-amd64 (push) Has been cancelled
Docker Build and Publish / build-arm64 (push) Has been cancelled
Lint (ruff + ty) / ruff + ty diff (push) Has been cancelled
Lint (ruff + ty) / ruff enforcement (blocking) (push) Has been cancelled
Lint (ruff + ty) / Windows footguns (blocking) (push) Has been cancelled
Nix Lockfile Fix / auto-fix-main (push) Has been cancelled
Nix Lockfile Fix / fix (push) Has been cancelled
Nix / nix (macos-latest) (push) Has been cancelled
Nix / nix (ubuntu-latest) (push) Has been cancelled
OSV-Scanner / Scan lockfiles (push) Has been cancelled
Build Skills Index / build-index (push) Has been cancelled
Tests / test (1) (push) Has been cancelled
Tests / test (2) (push) Has been cancelled
Tests / test (3) (push) Has been cancelled
Tests / test (4) (push) Has been cancelled
Tests / test (5) (push) Has been cancelled
Tests / test (6) (push) Has been cancelled
Tests / e2e (push) Has been cancelled
uv.lock check / uv lock --check (push) Has been cancelled
Docker Build and Publish / merge (push) Has been cancelled
Build Skills Index / trigger-deploy (push) Has been cancelled
Tests / save-durations (push) Has been cancelled
37 lines
1.0 KiB
Makefile
37 lines
1.0 KiB
Makefile
FIGURES_FOLDER := figures
|
|
PDFS := \
|
|
$(filter-out $(wildcard $(FIGURES_FOLDER)/*-crop.pdf),$(wildcard $(FIGURES_FOLDER)/*.pdf)) \
|
|
$(filter-out $(wildcard $(FIGURES_FOLDER)/**/*-crop.pdf),$(wildcard $(FIGURES_FOLDER)/**/*.pdf))
|
|
CROPPED_PDFS := $(PDFS:.pdf=-crop.pdf)
|
|
|
|
all: main.pdf
|
|
|
|
%.pdf: %.tex Makefile $(CROPPED_PDFS)
|
|
pdflatex -synctex=1 -interaction=nonstopmode $<
|
|
-bibtex $*.aux
|
|
pdflatex -synctex=1 -interaction=nonstopmode $<
|
|
pdflatex -synctex=1 -interaction=nonstopmode $<
|
|
|
|
.PHONY: figures
|
|
figures: $(CROPPED_PDFS)
|
|
|
|
.PRECIOUS: $(CROPPED_PDFS)
|
|
%-crop.pdf: %.pdf Makefile
|
|
pdfcrop $<
|
|
|
|
.PHONY: clean upgrade
|
|
clean:
|
|
find . -maxdepth 1 \
|
|
\( -name "*.aux" -o -name "*.bbl" -o -name "*.blg" -o \
|
|
-name "*.log" -o -name "*.out" -o -name "*.pdf" -o \
|
|
-name "*.synctex.gz" \) | xargs $(RM)
|
|
find $(FIGURES_FOLDER) -name "*-crop.pdf" | xargs $(RM)
|
|
|
|
YEAR := 2025
|
|
|
|
upgrade:
|
|
curl -O https://media.neurips.cc/Conferences/NeurIPS$(YEAR)/Styles.zip
|
|
unzip -u Styles.zip
|
|
mv Styles/neurips_${YEAR}.sty neurips.sty
|
|
$(RM) -r Styles.zip Styles
|