-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmakefile
More file actions
28 lines (24 loc) · 873 Bytes
/
makefile
File metadata and controls
28 lines (24 loc) · 873 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
build:
pdflatex EliiseSeling.tex
build-customized:
@echo "Building all customized resumes..."
@if [ -d "customized" ]; then \
for dir in customized/*/; do \
if [ -f "$$dir/EliiseSeling.tex" ]; then \
echo "Building $$dir..."; \
cd "$$dir" && pdflatex EliiseSeling.tex && cd ../..; \
fi \
done; \
echo "All customized resumes built successfully!"; \
else \
echo "No customized folder found. Create customized resumes first."; \
fi
clean:
rm -f *.aux *.log *.out *.dvi *.fls *.fdb_latexmk
clean-customized:
@echo "Cleaning customized resume build artifacts..."
@if [ -d "customized" ]; then \
find customized -name "*.aux" -o -name "*.log" -o -name "*.out" -o -name "*.dvi" -o -name "*.fls" -o -name "*.fdb_latexmk" | xargs rm -f; \
echo "Customized build artifacts cleaned!"; \
fi
.PHONY: build build-customized clean clean-customized