shell.nix -> flake.nix #61

Merged
sb10q merged 3 commits from architeuthis/datasheets:nix-flake into master 2024-10-30 14:49:57 +08:00
2 changed files with 22 additions and 0 deletions
Showing only changes of commit 2b829885ac - Show all commits

9
.gitignore vendored Normal file
View File

@ -0,0 +1,9 @@
*.out
*.log
*.aux
_minted-*
build
result
images/unsorted

13
Makefile Normal file
View File

@ -0,0 +1,13 @@
inputs = 1124 2118-2128 2238 2245 4410-4412 4456 5108 5432 5518-5528 5568 7210
dir = build
all: $(inputs)
$(inputs) : % : %.tex
pdflatex -shell-escape $@.tex
if ! test -d "$(dir)"; then mkdir build; fi
mv $@.pdf build/
rm $@.log
clean:
rm -r _minted* *.aux *.out