20
0
Files
cdsc_tex/letter_template/Makefile
Benjamin Mako Hill 623ab6f240 Share vc-git from a single copy at the repository root
Four templates need it and two did not have it. The paper copy called
gawk -f ~/bin/vc-git.awk while shipping vc-git.awk beside itself, so it
only worked for someone who had also installed the awk script by hand;
it now calls the copy it ships with.

Templates link to ../../resources/, which new_tex_document has to
dereference when it extracts one.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-19 15:45:18 +09:00

22 lines
235 B
Makefile

#!/usr/bin/make
all: $(patsubst %.tex,%.pdf,$(wildcard *.tex))
%.pdf: %.tex
latexmk -f -lualatex $<
clean:
latexmk -C *.tex
rm -f *.tmp
rm -f vc
viewpdf: all
evince *.pdf
vc:
resources/vc-git
pdf: all
.PHONY: clean all